mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use homebrew bundle
to avoid errors on upgrade available.
`homebrew install` could exit with errors like: ``` Error: cmake 3.12.4 is already installed To upgrade to 3.13.0, run `brew upgrade cmake` ``` This solution is the one recommended in https://github.com/Homebrew/brew/issues/2491
This commit is contained in:
parent
2b410acbf9
commit
d406f90f32
2 changed files with 17 additions and 5 deletions
|
@ -373,13 +373,10 @@ def macos_build_task(name):
|
|||
.with_script("""
|
||||
mkdir -p "$HOME/homebrew"
|
||||
export PATH="$HOME/homebrew/bin:$PATH"
|
||||
which homebrew || curl -L https://github.com/Homebrew/brew/tarball/master \
|
||||
which brew || curl -L https://github.com/Homebrew/brew/tarball/master \
|
||||
| tar xz --strip 1 -C "$HOME/homebrew"
|
||||
|
||||
time brew install automake autoconf@2.13 pkg-config cmake yasm llvm
|
||||
time brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad \
|
||||
gst-libav gst-rtsp-server \
|
||||
--with-orc --with-libogg --with-opus --with-pango --with-theora --with-libvorbis
|
||||
time brew bundle install --no-upgrade --file=etc/taskcluster/macos/Brewfile
|
||||
export OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include"
|
||||
export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib"
|
||||
""")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue