[CI] Pin libomp to 11.1.0 (#7107)
This commit is contained in:
committed by
GitHub
parent
8e8232fb4c
commit
2801d69fb7
@@ -1,7 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/27
|
||||
# Use libomp 11.1.0: https://github.com/dmlc/xgboost/issues/7039
|
||||
brew update # Force update, so that update doesn't overwrite our version of libomp.rb
|
||||
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/679923b4eb48a8dc7ecc1f05d06063cd79b3fc00/Formula/libomp.rb -O $(find $(brew --repository) -name libomp.rb)
|
||||
brew install cmake libomp
|
||||
brew pin libomp
|
||||
|
||||
|
||||
if [ ${TASK} == "python_test" ] || [ ${TASK} == "python_sdist_test" ]; then
|
||||
|
||||
Reference in New Issue
Block a user