Skip to content

Commit

Permalink
try linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Sep 27, 2024
1 parent bc34c49 commit 521a3e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .CI/SetupHomebrewDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 521a3e6

Please sign in to comment.