diff --git a/docker/build/build-deps.sh b/docker/build/build-deps.sh index 16fc25fc6..29868578f 100755 --- a/docker/build/build-deps.sh +++ b/docker/build/build-deps.sh @@ -6,8 +6,5 @@ set -euo pipefail source "$HOME/.cargo/env" -# Disable usage of instructions from the ADX extension to avoid incompatibility -# with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ -export BLST_PORTABLE="yes" opam init --bare --disable-sandboxing make build-deps diff --git a/docker/build/build-tezos.sh b/docker/build/build-tezos.sh index 0848d82c0..e4429b64e 100755 --- a/docker/build/build-tezos.sh +++ b/docker/build/build-tezos.sh @@ -8,5 +8,8 @@ set -euo pipefail eval "$(opam env)" +# Disable usage of instructions from the ADX extension to avoid incompatibility +# with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ +export BLST_PORTABLE="yes" make static chmod +w octez-*