Skip to content

Commit

Permalink
[ci] install libomp before downgrade xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Feb 16, 2024
1 parent 99ca38f commit 8a8ff90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Install dependencies (MacOS only)
if: ${{ runner.os == 'macOS' }}
run: |
brew install libomp
curl -o Xcode10.app.tar.gz --insecure https://mcx.space/dev/ci/Xcode10.app.tar.gz
tar zxf Xcode10.app.tar.gz
rm -rf Xcode10.app.tar.gz
Expand All @@ -43,7 +44,6 @@ jobs:
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install octave
brew install libomp
brew link --force libomp
brew install --cask lazarus
echo "/Applications/Lazarus/" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_macos_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Select Supported XCode Version + Link OpenMP
run: |
brew install libomp
curl -o Xcode10.app.tar.gz --insecure https://mcx.space/dev/ci/Xcode10.app.tar.gz
tar zxf Xcode10.app.tar.gz
sudo xcode-select -s $PWD/Xcode.app/Contents/Developer/
echo "$PWD/Xcode.app/Contents/Developer/usr/bin" >> $GITHUB_PATH
echo "$PWD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/" >> $GITHUB_PATH
echo "SDKROOT=$PWD/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" >> $GITHUB_ENV
brew install libomp
brew link --force libomp
- name: Install CUDA
run: |
Expand Down

0 comments on commit 8a8ff90

Please sign in to comment.