Skip to content

Commit

Permalink
Take into account instances of *wanted* word-splitting
Browse files Browse the repository at this point in the history
Signed-off-by: Ambre Austen Suhamy <[email protected]>
  • Loading branch information
ElectreAAS committed Jan 15, 2024
1 parent 394cc75 commit 697a232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/main/solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ echo "$OPAMROOT"

case "$SOLVER" in
z3)
PKGS=$SOLVER
PKGS=("$SOLVER")
if [[ $RUNNER_OS = 'macOS' ]]; then
# brew may require extra flags to override the system-installed python,
# so we assume the presence of python3 on the macOS runners.
opam option --global 'depext-bypass=["python@3"]'
fi
;;
0install)
PKGS="$SOLVER opam-0install-cudf"
PKGS=("$SOLVER" opam-0install-cudf)
;;
*)
echo -e "\e[31mSolver $SOLVER not handled\e[0m";
Expand All @@ -32,7 +32,7 @@ esac
opam update --depexts
opam switch create "$SOLVER" ocaml-system || true
opam upgrade --all
opam install "$PKGS"
opam install "${PKGS[@]}"
opam install . --deps
opam clean --logs --switch-cleanup
eval $(opam env)
Expand Down
4 changes: 2 additions & 2 deletions shell/bootstrap-ocaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ if [ -n "$1" ] && [ -n "${COMSPEC}" ] && [ -x "${COMSPEC}" ] ; then
./configure --prefix "$WINPREFIX" \
--build="$BUILD" --host=$HOST \
--disable-stdlib-manpages \
"$BOOTSTRAP_EXTRA_OPTS"
$BOOTSTRAP_EXTRA_OPTS
for target in $BOOTSTRAP_TARGETS; do
PATH="${PATH_PREPEND}${PREFIX}/bin:${PATH}" Lib="${LIB_PREPEND}${Lib}" Include="${INC_PREPEND}${Include}" make -j "$target"
done
Expand All @@ -153,7 +153,7 @@ if [ -n "$1" ] && [ -n "${COMSPEC}" ] && [ -x "${COMSPEC}" ] ; then
else
PREFIX=$(cd .. ; pwd)/ocaml
if [ "${GEN_CONFIG_ONLY}" -eq 0 ] ; then
./configure --prefix "${PREFIX}" "$BOOTSTRAP_EXTRA_OPTS" --disable-stdlib-manpages
./configure --prefix "${PREFIX}" $BOOTSTRAP_EXTRA_OPTS --disable-stdlib-manpages
for target in $BOOTSTRAP_TARGETS; do
${MAKE:-make} -j "$target"
done
Expand Down

0 comments on commit 697a232

Please sign in to comment.