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

root=/home/fabien/SPDEV

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

# default architecture
export PIPS_ARCH=LINUX_x86_64_LL

unset PIPS_CC
# somme workaround for gcc 4.8+
# avoid "stdc-predef.h"
export PIPS_CPP="gcc -std=c99 -E -C -ffreestanding"

# compile only "spear" subset
export PIPS_SPECIAL=spear

# and only tpips
export PIPS_NO_GPIPS=1
export PIPS_NO_WPIPS=1
export PIPS_NO_FPIPS=1
export PIPS_NO_PIPS=1

# 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
spdev=$root/spdev
export EXTERN_ROOT=$spdev/extern

#export PIPS_F77=gfortran
#export PIPS_F90=gfortran

# fix path
export PATH=/usr/bin:/bin:$spdev/pips/bin:$spdev/pips/utils

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