Skip to content

Commit

Permalink
build: fix ppl script installation
Browse files Browse the repository at this point in the history
  • Loading branch information
himito committed Dec 20, 2023
1 parent a3ba971 commit 0d32d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/install-ppl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ cd ppl-${PPL_VERSION}
if [[ "$RUNNER_OS" = "macOS" ]]; then
# patch clang
patch -p0 <"${PATCH_FOLDER}/clang5.patch"
EXTRA_ARGS="--with-gmp=$(brew --prefix)"
fi

# compile ppl
./configure --prefix=$(opam var prefix) --with-mlgmp=$(opam var lib)/gmp --disable-documentation --enable-interfaces=ocaml
./configure --prefix=$(opam var prefix) --with-mlgmp=$(opam var lib)/gmp ${EXTRA_ARGS} --disable-documentation --enable-interfaces=ocaml

# compile Ocaml interface
cd interfaces/OCaml && make -j 4 && make install && cd ../../..
Expand Down

0 comments on commit 0d32d16

Please sign in to comment.