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