# $Id$
#
# minimum rc file for sh-compatible shells
#

root=/home/fabien/CLANG

# in */makes/config.mk:
#   PIPS_NO_GPIPS = 1
#   PIPS_ENABLE_FORTRAN95 =
#   COPT += -Werror
#   CPPOPT += -DPIPS_WERROR_COMPILATION

# default architecture
export PIPS_ARCH=CLANG_x86_64_LL

# use clang (llvm C compiler)
export PIPS_CC="clang -std=c99"
export PIPS_CPP="clang -std=c99 -E -C -ffreestanding"

# subversion repositories
# export NEWGEN_SVN=https://svn.cri.mines-paristech.fr/svn/newgen
# export LINEAR_SVN=https://svn.cri.mines-paristech.fr/svn/linear
# export PIPS_SVN=https://svn.cri.mines-paristech.fr/svn/pips

# software roots
# needed for polylib
export EXTERN_ROOT=$root/prod/extern

export PIPS_F77=gfortran
export PIPS_F90=gfortran

# fix path
export PATH=/usr/bin:/bin:$root/prod/pips/bin:$root/prod/pips/utils
export LD_LIBRARY_PATH=$EXTERN_ROOT/lib:$LD_LIBRARY_PATH

# ignore these static inlined function
export PIPS_IGNORE_FUNCTION_RX='!__bswap_'
