Skip to content

Commit

Permalink
Allow trilinos to be optional to prevent it from failing in manylinux…
Browse files Browse the repository at this point in the history
… release machines
  • Loading branch information
roigcarlo committed Apr 25, 2024
1 parent 4ee3d6e commit cf1f9e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake_modules/FindTRILINOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,7 @@ IF(TRILINOS_FOUND)
MESSAGE(STATUS "TRILINOS_INCLUDE_DIR: ${TRILINOS_INCLUDE_DIR}")
MESSAGE(STATUS "TRILINOS_LIBRARIES: ${TRILINOS_LIBRARIES}")
ELSE (TRILINOS_FOUND)
MESSAGE(FATAL_ERROR ${ERROR_NOT_FOUND_MESSAGE})
IF(NOT DEFINED MAKE_TRILINOS_OPTIONAL)
MESSAGE(FATAL_ERROR ${ERROR_NOT_FOUND_MESSAGE})
ENDIF(NOT DEFINED MAKE_TRILINOS_OPTIONAL)
ENDIF(TRILINOS_FOUND)
1 change: 1 addition & 0 deletions scripts/wheels/linux/configure_mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ cmake -H"${KRATOS_SOURCE}" -B"${KRATOS_BUILD}/${KRATOS_BUILD_TYPE}" \
-DCMAKE_INSTALL_PREFIX=$2 \
-DUSE_TRIANGLE_NONFREE_TPL=ON \
-DUSE_MPI=ON \
-DMAKE_TRILINOS_OPTIONAL \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_CXX_FLAGS="-msse3 -std=c++11 " \
Expand Down

0 comments on commit cf1f9e7

Please sign in to comment.