diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-01-19 17:52:36 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-01-19 17:52:36 +0000 |
commit | 2b31a3d7d0f633896119c5197e739231cd0f2637 (patch) | |
tree | 09c888d0dcaf16679f4c02ae54037222e986a441 /lib/make/known-architectures/aix | |
parent | 4c668bfc7c55d49a915f8ba853d6f47e3be3d449 (diff) |
Added another C/C++ compiler optimization option.
Added linker option to support virtual memory of up to 2GB per process.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2587 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/aix')
-rw-r--r-- | lib/make/known-architectures/aix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix index ec3291c8..e44e65ef 100644 --- a/lib/make/known-architectures/aix +++ b/lib/make/known-architectures/aix @@ -44,7 +44,7 @@ else cc|xlc|xlc_r) : ${C_DEPEND='$(CPP) -M $(CPPFLAGS)'} : ${C_DEPEND_OUT=' > /dev/null ; mv $(basename $(basename $@)).u $@'} - : ${CFLAGS="-qspill=10000"} + : ${CFLAGS='-qspill=10000 -qmaxmem=-1'} ;; *) ;; @@ -57,7 +57,7 @@ else xlC|xlC_r) : ${CXX_DEPEND='$(CXX) -E -M $(CPPFLAGS)'} : ${CXX_DEPEND_OUT=' > /dev/null ; mv $(basename $(basename $@)).u $@'} - : ${CXXFLAGS="-qspill=10000"} + : ${CXXFLAGS='-qspill=10000 -qmaxmem=-1'} ;; *) ;; @@ -73,6 +73,10 @@ else fi fi + # allow each process to use up to 2 GB of virtual memory (default is 256 MB) + if test "$LD" != 'g++' -a "$LD" != 'c++'; then + : ${LDFLAGS='-bmaxdata:0x80000000'} + fi # MPI stuff |