c99c5961fabe4fa87c8eabe6a37f06b1de7dbb72
[charm.git] / src / arch / pami-bluegeneq / cc-xlc.sh
1 XLC_TYPICAL_PRE=/soft/compilers/ibmcmp-feb2012/
2 XLC_PRE=$XLC_TYPICAL_PRE
3
4 XLC_TYPICAL_POST_BG=vacpp/bg/12.1/bin/bg
5 XLC_TYPICAL_POST=vacpp/bg/12.1/bin
6 XLC_POST=$XLC_TYPICAL_POST_BG
7
8 # if no floor set, use typical floor path
9 if test -n "$BGQ_XLC_PRE"
10 then
11   XLC_PRE=$BGQ_XLC_PRE
12 fi
13
14 XLC_F=$XLC_PRE/xlf/bg/14.1/bin
15 CMK_CC="$XLC_PRE/${XLC_POST}xlc_r -qcpluscmt -qhalt=e $BGQ_INC"
16 CMK_CXX="$XLC_PRE/${XLC_POST}xlC_r -qhalt=e $BGQ_INC"
17 CMK_LD="$CMK_CC"
18 CMK_LDXX="$CMK_CXX"
19 CMK_CF77="$XLC_F/bgxlf "
20 CMK_CF90="$XLC_F/bgxlf90  -qsuffix=f=f90" 
21 CMK_CF90_FIXED="$XLC_F/bgxlf90 " 
22 CMK_C_OPTIMIZE='-O3 -Q'
23 CMK_CXX_OPTIMIZE='-O3 -Q'
24 CMK_AR='ar cq'
25 CMK_NM='nm '
26 CMK_QT="aix"
27 #CMK_NATIVE_CC="/opt/ibmcmp/vacpp/bg/9.0/bin/xlc"
28 #CMK_NATIVE_CXX="/opt/ibmcmp/vacpp/bg/9.0/bin/xlC"
29 CMK_NATIVE_LD="$CMK_NATIVE_CC"
30 CMK_NATIVE_LDXX="$CMK_NATIVE_CXX"
31 CMK_RANLIB="ranlib"
32 CMK_F90LIBS="-L$XLC_F/lib -lxlf90 -lxlopt -lxl -lxlfmath"