diff --git a/.CI/SetupHomebrewDeps.sh b/.CI/SetupHomebrewDeps.sh index be9d28593f9..c762b8fe8ce 100755 --- a/.CI/SetupHomebrewDeps.sh +++ b/.CI/SetupHomebrewDeps.sh @@ -97,6 +97,14 @@ do arch -x86_64 /opt/homebrew-x86_64/bin/brew install $(arch -x86_64 /opt/homebrew-x86_64/bin/brew --cache --bottle-tag=x86_64_monterey "$dep") done +echo "Unlink & link libraries" +brew unlink "$@" || true +brew link --overwrite "$@" + +echo "Unlink & link x86_64" +arch -x86_64 /opt/homebrew-x86_64/bin/brew unlink "$@" || true +arch -x86_64 /opt/homebrew-x86_64/bin/brew link --overwrite "$@" + echo "Relinking boost libraries" c2-make-universal-dylib lib/libboost_random-mt.dylib diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b5bb3c9aa2..fafdc6031d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -281,7 +281,7 @@ jobs: if: startsWith(matrix.os, 'macos') run: | # binary dependencies - ./.CI/SetupHomebrewDeps.sh boost openssl + ./.CI/SetupHomebrewDeps.sh boost openssl@3 # build and header-only dependencies brew install rapidjson p7zip create-dmg cmake tree shell: bash