Skip to content

Commit ac497c2

Browse files
committed
Install tbb in CI only when not building for Houdini
Signed-off-by: Dan Bailey <[email protected]>
1 parent d90e61f commit ac497c2

File tree

7 files changed

+20
-6
lines changed

7 files changed

+20
-6
lines changed

.github/workflows/ax.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ jobs:
134134
steps:
135135
- uses: actions/checkout@v3
136136
- name: install_deps
137-
run: ./ci/install_macos.sh ${{ matrix.config.llvm }}
137+
run: |
138+
./ci/install_macos.sh ${{ matrix.config.llvm }}
139+
./ci/install_tbb_macos.sh
138140
- name: build
139141
run: >
140142
./ci/build.sh -v

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ jobs:
197197
steps:
198198
- uses: actions/checkout@v3
199199
- name: install
200-
run: ./ci/install_macos.sh
200+
run: |
201+
./ci/install_macos.sh
202+
./ci/install_tbb_macos.sh
201203
- name: build
202204
run: >
203205
./ci/build.sh -v

.github/workflows/houdini.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
run: |
168168
./ci/build.sh -v \
169169
--build-type=Release \
170-
--components="core,hou,bin,view,render,python,test,axcore,axbin,axtest" \
170+
--components="core,hou,bin,view,render,python,test,axcore,axbin" \
171171
--cargs=\" \
172172
-DHOUDINI_ROOT=$HOME/houdini_install/hou \
173173
-DOPENVDB_BUILD_HOUDINI_ABITESTS=OFF \

.github/workflows/nanovdb.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ jobs:
167167
steps:
168168
- uses: actions/checkout@v3
169169
- name: install_deps
170-
run: ./ci/install_macos.sh
170+
run: |
171+
./ci/install_macos.sh
172+
./ci/install_tbb_macos.sh
171173
- name: build
172174
run: >
173175
./ci/build.sh -v

.github/workflows/weekly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ jobs:
216216
sudo apt-get -q install -y libboost-dev libboost-iostreams-dev libtbb-dev libblosc-dev llvm-dev libgtest-dev libcppunit-dev pybind11-dev
217217
elif [ "$RUNNER_OS" == "macOS" ]; then
218218
./ci/install_macos.sh 15
219+
./ci/install_tbb_macos.sh
219220
else
220221
echo "$RUNNER_OS not supported"; exit 1
221222
fi
@@ -317,7 +318,9 @@ jobs:
317318
steps:
318319
- uses: actions/checkout@v3
319320
- name: install_deps
320-
run: ./ci/install_macos.sh ${{ matrix.config.llvm }}
321+
run: |
322+
./ci/install_macos.sh ${{ matrix.config.llvm }}
323+
./ci/install_tbb_macos.sh
321324
- name: build
322325
run: >
323326
./ci/build.sh -v

ci/install_macos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ brew install googletest
1919
brew install jq # for trivial parsing of brew json
2020
brew install openexr
2121
brew install pybind11 # also installs the dependent python version
22-
brew install tbb
2322
brew install zlib
2423
brew install jemalloc
2524

ci/install_tbb_macos.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
set -x
4+
5+
brew update
6+
brew install tbb

0 commit comments

Comments
 (0)