Skip to content

Commit a9440c4

Browse files
authored
Merge pull request #1070 from Idclip/macos_ci_fix
macos TBB CI fixes
2 parents 0f93ce6 + 316da79 commit a9440c4

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/ax.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ jobs:
122122
- name: build
123123
run: |
124124
./ci/build.sh ${{ matrix.build }} None ON None "core,axcore,axbin,axtest" \
125-
-DLLVM_DIR=/usr/local/opt/llvm@${{ matrix.llvm }}/lib/cmake/llvm \
126-
-DOPENVDB_ROOT=$HOME/openvdb-7.0.0-${{ matrix.compiler }}
125+
-DLLVM_DIR=/usr/local/opt/llvm@${{ matrix.llvm }}/lib/cmake/llvm
127126
# Tests
128127
- name: test
129128
run: cd build && ctest -V

ci/install_macos.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ brew install openexr@2
1010
brew install boost
1111
brew install boost-python3 # also installs the dependent python version
1212
brew install gtest
13-
brew install tbb
13+
brew install tbb@2020
1414
brew install zlib
1515
brew install glfw
1616
brew install jq # for trivial parsing of brew json
@@ -23,7 +23,11 @@ echo "Using python $py_version"
2323
echo "Python_ROOT_DIR=/usr/local/opt/$py_version" >> $GITHUB_ENV
2424
echo "/usr/local/opt/$py_version/bin" >> $GITHUB_PATH
2525

26-
# Export OpenEXR paths which is no longer installed to /usr/local (as v2.x is deprecated)
26+
# Export OpenEXR paths which are no longer installed to /usr/local (as v2.x is deprecated)
2727
echo "IlmBase_ROOT=/usr/local/opt/ilmbase" >> $GITHUB_ENV
2828
echo "OpenEXR_ROOT=/usr/local/opt/openexr@2" >> $GITHUB_ENV
2929
echo "/usr/local/opt/openexr@2/bin" >> $GITHUB_PATH
30+
31+
# Export TBB paths which are no longer installed to /usr/local (as v2020 is deprecated)
32+
echo "TBB_ROOT=/usr/local/opt/tbb@2020" >> $GITHUB_ENV
33+
echo "/usr/local/opt/tbb@2020/bin" >> $GITHUB_PATH

ci/install_macos_ax.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ fi
1010

1111
brew update
1212
brew install bash
13-
brew install ilmbase
14-
brew install openexr
1513
brew install cmake
1614
brew install boost
1715
brew install cppunit
1816
brew install c-blosc
19-
brew install tbb
17+
brew install tbb@2020
2018
brew install llvm@$LLVM_VERSION
2119
brew install zlib
20+
21+
# Export TBB paths which are no longer installed to /usr/local (as v2020 is deprecated)
22+
echo "TBB_ROOT=/usr/local/opt/tbb@2020" >> $GITHUB_ENV
23+
echo "/usr/local/opt/tbb@2020/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)