Refactor Homebrew installation for boost@1.76

Updated Homebrew installation script to fetch boost@1.76.rb directly and modified the source URL for boost download.
This commit is contained in:
Rudokhvist
2025-12-22 10:45:14 +02:00
committed by GitHub
parent 37c90ca9ab
commit 2ed80815f0

View File

@@ -45,16 +45,18 @@ jobs:
brew update
export HOMEBREW_NO_INSTALL_FROM_API=1
sed -i '' -e 's/disable!/#disable!/' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/i/icu4c@74.rb
curl https://github.com/Homebrew/homebrew-core/raw/aba405a30fa1a608a12adeb56bea8e1c5975a42d/Formula/b/boost@1.76.rb > /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/b/boost@1.76.rb
sed -i '' -e 's#https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2#https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2#' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/b/boost@1.76.rb
brew install \
icu4c@74 \
boost@1.76 \
automake \
git \
nasm \
tbb \
texinfo \
zlib
curl https://github.com/Homebrew/homebrew-core/raw/aba405a30fa1a608a12adeb56bea8e1c5975a42d/Formula/b/boost@1.76.rb > boost@1.76.rb
sed -i '' -e 's#https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2#https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2#' ./boost@1.76.rb
HOMEBREW_DEVELOPER=true brew install --formulae ./boost@1.76.rb
- name: Setup PkgConfig