fix the ZLIB path problem on BGQ
[charm.git] / src / arch / pami-bluegeneq / cc-xlc.sh
1 BGQ_ZLIB=/soft/libraries/alcf/current/xl/ZLIB/
2 BGQ_BIN=$BGQ_FLOOR/gnu-linux/bin
3 BGQ_INC="-I$BGQ_INSTALL/comm/sys/include -I$BGQ_INSTALL/spi/include -I$BGQ_INSTALL -I$BGQ_INSTALL/spi/include/kernel/cnk -I$BGQ_ZLIB/include"
4 BGQ_LIB="-L$BGQ_INSTALL/comm/sys-fast/lib -lpami -L$BGQ_INSTALL/spi/lib -L$BGQ_ZLIB/lib -lSPI -lSPI_cnk -lpthread -lrt" 
5 CMK_SYSLIBS="$BGQ_LIB"
6 CMK_CC="bgxlc_r -qcpluscmt -qhalt=e $BGQ_INC -qnokeyword=__int128"
7 CMK_CXX="bgxlC_r -qhalt=e $BGQ_INC -qnokeyword=__int128"
8 CMK_LD="$CMK_CC"
9 CMK_LDXX="$CMK_CXX"
10 CMK_CF77="bgxlf_r "
11 CMK_CF90="bgxlf90_r  -qsuffix=f=f90" 
12 CMK_CF90_FIXED="bgxlf90_r " 
13 CMK_C_OPTIMIZE='-O3'
14 CMK_CXX_OPTIMIZE='-O3'
15 CMK_ENABLE_C11='-qlanglvl=extc1x'
16 CMK_ENABLE_CPP11='-qlanglvl=extended0x'
17
18 CMK_AR='ar cq'
19 CMK_NM='nm '
20 CMK_QT="aix"
21 CMK_NATIVE_LD="$CMK_NATIVE_CC"
22 CMK_NATIVE_LDXX="$CMK_NATIVE_CXX"
23 CMK_RANLIB="ranlib"
24 CMK_F90LIBS="-lxlf90 -lxlopt -lxl -lxlfmath"
25
26