Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun committed Mar 26, 2024
1 parent 17b0749 commit c3c22a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etc/build/install-runsolver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ VERSION='3f923c08285bdc5186f995296e1c6bffa0588710'
set -o errexit
set -o nounset

DIR="$( cd "$( dirname "$0" )" && pwd )"

export BIN_DIR=${BIN_DIR:-${HOME}/.local/bin}
export PROCESSES=${PROCESSES:-1}

Expand All @@ -25,7 +27,7 @@ if [ "$OS" == "Linux" ]; then
else
echo "Build failed, trying again with a local patch"
echo "This might happen when building with an old version of libnuma-dev"
patch runsolver.cc ../../runsolver.patch
patch runsolver.cc ${DIR}/etc/build/runsolver.patch
make -j${PROCESSES}
fi
cp runsolver ${BIN_DIR}/runsolver
Expand Down

0 comments on commit c3c22a2

Please sign in to comment.