1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

17 lines
453 B
Bash
Executable File

#!/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