Skip to content

Commit

Permalink
Allow to pass custom location for the Boost library for Spike (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuguet authored Apr 29, 2024
1 parent 3919e79 commit 0c21088
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion verif/regress/install-spike.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ if ! [ -f "$SPIKE_INSTALL_DIR/bin/spike" ]; then
# Build and install Spike (including extensions).
mkdir -p build
cd build
WITH_BOOST=""
if [[ ! -z "$BOOST_INSTALL_DIR" ]]; then
WITH_BOOST="--with-boost=${BOOST_INSTALL_DIR}"
fi
if [[ ! -f config.log ]]; then
../configure --prefix="$SPIKE_INSTALL_DIR"
../configure --prefix="$SPIKE_INSTALL_DIR" ${WITH_BOOST}
fi
make -j${NUM_JOBS}
echo "Installing Spike in '$SPIKE_INSTALL_DIR'..."
Expand Down

0 comments on commit 0c21088

Please sign in to comment.