Skip to content

Commit fdb0db9

Browse files
committed
Install benchmark library to help cmake find it
1 parent 5a34e06 commit fdb0db9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,20 +290,19 @@ jobs:
290290
if: ${{ contains(matrix.os, 'ubuntu') }}
291291
run: |
292292
sudo apt update
293-
sudo apt install openmpi-bin libopenmpi-dev ccache graphviz libeigen3-dev libtiff-dev libcfitsio-dev libboost-all-dev libyaml-cpp-dev
293+
sudo apt install openmpi-bin libopenmpi-dev ccache graphviz libeigen3-dev libtiff-dev libcfitsio-dev libboost-all-dev libyaml-cpp-dev libbenchmark-dev
294294
295295
- name: Install Dependencies on MacOS
296296
if: ${{ contains(matrix.os, 'macos') }}
297297
run: |
298-
brew install open-mpi libomp eigen ccache cfitsio boost yaml-cpp onnxruntime
298+
brew install open-mpi libomp eigen ccache cfitsio boost yaml-cpp onnxruntime google-benchmark
299299
echo "CMAKE_PREFIX_PATH=/opt/homebrew/opt/libomp" >> $GITHUB_ENV
300300
echo "/opt/homebrew/opt/ccache/libexec" >> $GITHUB_PATH
301301
302302
- name: Build examples
303303
# Build your program with the given configuration
304304
run: |
305305
export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH
306-
#export PATH=${{github.workspace}}/local:$PATH
307306
mkdir -p ${{github.workspace}}/build
308307
cd ${{github.workspace}}/build
309308
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -Donnxrt=ON -Dhdf5=ON -Ddocasa=OFF -Ddompi=${{matrix.mpi}} -Dopenmp=${{matrix.omp}} -Dtests=OFF -Dexamples=ON -Dbenchmarks=ON

0 commit comments

Comments
 (0)