mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 00:48:41 +03:00
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:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -45,16 +45,18 @@ jobs:
|
|||||||
brew update
|
brew update
|
||||||
export HOMEBREW_NO_INSTALL_FROM_API=1
|
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
|
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 \
|
brew install \
|
||||||
icu4c@74 \
|
icu4c@74 \
|
||||||
|
boost@1.76 \
|
||||||
automake \
|
automake \
|
||||||
git \
|
git \
|
||||||
nasm \
|
nasm \
|
||||||
tbb \
|
tbb \
|
||||||
texinfo \
|
texinfo \
|
||||||
zlib
|
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
|
HOMEBREW_DEVELOPER=true brew install --formulae ./boost@1.76.rb
|
||||||
|
|
||||||
- name: Setup PkgConfig
|
- name: Setup PkgConfig
|
||||||
|
|||||||
Reference in New Issue
Block a user