2012-07-16 11:22:56 +02:00
|
|
|
|
|
|
|
checkdir=_check_builds
|
|
|
|
|
|
|
|
shopt -s nullglob
|
|
|
|
|
|
|
|
# script de test
|
|
|
|
|
|
|
|
COMPILER_DIR="../compiler"
|
|
|
|
if [ -x $COMPILER_DIR/heptc.native ];
|
|
|
|
then
|
|
|
|
COMPILER=heptc.native
|
|
|
|
else
|
2012-07-19 15:23:40 +02:00
|
|
|
if [ -x $COMPILER_DIR/heptc.byte ];
|
|
|
|
then
|
|
|
|
COMPILER=heptc.byte
|
|
|
|
else
|
|
|
|
echo "Error: no compiler found."
|
|
|
|
exit 2
|
|
|
|
fi
|
2012-07-16 11:22:56 +02:00
|
|
|
fi
|
|
|
|
|
2012-07-16 16:16:59 +02:00
|
|
|
HEPTC="../$COMPILER_DIR/$COMPILER -stdlib ../../lib"
|
2012-07-16 11:22:56 +02:00
|
|
|
CC="gcc -std=c99 -I ../../../lib/c"
|
|
|
|
LD="gcc"
|
2012-09-28 13:01:09 +02:00
|
|
|
JAVAC="javac -classpath ../../../lib/java:."
|
|
|
|
JAVA="java -classpath ../../../lib/java:."
|
2017-02-06 15:30:52 +01:00
|
|
|
REAX="reax"
|
|
|
|
BZREAX="bzreax"
|
2017-02-06 18:02:05 +01:00
|
|
|
CTRL2EPT="../$COMPILER_DIR/ctrl2ept.byte"
|
2012-07-16 11:22:56 +02:00
|
|
|
NBSTEP=100
|
2012-07-16 18:48:03 +02:00
|
|
|
|
|
|
|
if [ ! -x $checkdir ];
|
|
|
|
then
|
|
|
|
mkdir $checkdir
|
|
|
|
fi
|