Skip to content

Commit 61500f2

Browse files
authored
Use make instead of ninja for building Trilinos in linux publish workflow
The image cibuildwheel is apparently too old and only supports ninja 1.8 (which doesn't support fortran).
1 parent 1a1e50e commit 61500f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build_and_publish_to_pypi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
mkdir trilinos-build &&
5151
cd trilinos-build &&
5252
cmake \
53-
-G Ninja \
5453
-D CMAKE_INSTALL_PREFIX:PATH=${{ steps.strings.outputs.build-output-dir }}/trilinos-install \
5554
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
5655
-D Trilinos_ENABLE_DEBUG:BOOL=OFF \
@@ -69,7 +68,7 @@ jobs:
6968
-D TPL_LAPACK_LIBRARIES=/usr/lib64/libopenblas.so \
7069
-D Trilinos_ENABLE_ROL=ON \
7170
../Trilinos &&
72-
ninja install
71+
make -j install
7372
CIBW_CONFIG_SETTINGS_LINUX: "cmake.define.ENABLE_PYTHON_EMBED=OFF cmake.define.ENABLE_TRILINOS=ON"
7473
CIBW_ENVIRONMENT_LINUX: Trilinos_DIR=${{ steps.strings.outputs.build-output-dir }}/trilinos-install/lib64/cmake/Trilinos LD_LIBRARY_PATH=${{ steps.strings.outputs.build-output-dir }}/trilinos-install/lib64
7574
CIBW_TEST_REQUIRES: pytest pyttb

0 commit comments

Comments
 (0)