Skip to content

Commit d3c30dd

Browse files
committed
[ci] brew's eigen 5 breaks cmake version check, revert to eigen@3
1 parent 7fe7371 commit d3c30dd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
CCACHE_COMPRESSLEVEL : 6
5252
BUILD_CONFIG : >
5353
-G Ninja
54+
-D CMAKE_PREFIX_PATH='/opt/homebrew/opt/eigen@3'
5455
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
5556
-D BUILD_SHARED_LIBS=${{ matrix.build_shared_libs }}
5657
-D LIBINT_BUILD_LIBRARY_AS_SUBPROJECT=${{ matrix.subproject }}
@@ -95,7 +96,6 @@ jobs:
9596
run: |
9697
brew install ninja gcc@11 gmp boost eigen@3 bison ccache automake python@3.13 numpy scipy scikit-image pytest
9798
echo "FC=/opt/homebrew/Cellar/gcc@11/11.5.0/bin/gfortran-11" >> $GITHUB_ENV
98-
echo "EIGEN3_INCLUDE_DIR=/opt/homebrew/opt/eigen@3/include/eigen3" >> $GITHUB_ENV
9999
pip3.13 show pytest || pip3.13 install --break-system-packages pytest
100100
101101
- name: Install prerequisite Ubuntu packages
@@ -105,7 +105,6 @@ jobs:
105105
sudo apt-get install ninja-build gfortran liblapack-dev libboost-dev libeigen3-dev ccache python3-numpy python3-scipy python3-pip
106106
pip3 install --break-system-packages scikit-build-core build pytest
107107
echo "FC=/usr/bin/gfortran" >> $GITHUB_ENV
108-
echo "EIGEN3_INCLUDE_DIR=/usr/include/eigen3" >> $GITHUB_ENV
109108
110109
- name: Prepare ccache timestamp
111110
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}

0 commit comments

Comments
 (0)