this repo has no description

Add scripts for compiling

+2
.gitignore
···
bin/
···
bin/
+
software/build/
+
software/install/
+4
clean.sh
···
···
+
#!/usr/bin/env bash
+
set -e
+
+
rm -rf software/build/* software/install/*
+16
install.sh
···
···
+
#!/usr/bin/env bash
+
set -e
+
+
module load Bison
+
module load CMake
+
module load flex
+
+
mkdir -p software/{build,install}
+
+
# Build Chuffed
+
for dir in "chuffed" "chuffed_on_restart" "gecode" "gecode_on_record" "gecode_on_replay" "gecode_on_restart"
+
do
+
cmake -S software/${dir} -B software/build/${dir} -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=`pwd`/software/install/${dir}
+
cmake --build software/build/${dir} --config Release --target install
+
done
+