Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Mar 9, 2024
2 parents 91ce292 + 2781117 commit ef34ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/piro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ GLOBAL_SET(HAVE_PIRO_TEKO ${${PACKAGE_NAME}_ENABLE_Teko})
ASSERT_DEFINED(${PACKAGE_NAME}_ENABLE_Stratimikos)
GLOBAL_SET(HAVE_PIRO_STRATIMIKOS ${${PACKAGE_NAME}_ENABLE_Stratimikos})

ASSERT_DEFINED(NOX_ENABLE_Epetra)
IF (${PACKAGE_NAME}_ENABLE_Epetra AND NOT NOX_ENABLE_Epetra)
IF (${PACKAGE_NAME}_ENABLE_Epetra AND ${PROJECT_NAME}_ENABLE_NOX AND NOT NOX_ENABLE_Epetra)
MESSAGE(FATAL_ERROR "Piro configuration error: Enabling Epetra in Piro also requires that Epetra be enabled in NOX (-DNOX_ENABLE_Epetra:BOOL=ON)")
ENDIF()

Expand Down
7 changes: 3 additions & 4 deletions packages/piro/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Can make Epetra & EpetraExt Optional in the future
SET(LIB_REQUIRED_DEP_PACKAGES Teuchos Stratimikos ThyraCore)
SET(LIB_REQUIRED_DEP_PACKAGES Teuchos Stratimikos ThyraCore Tpetra Teko)
SET(LIB_OPTIONAL_DEP_PACKAGES NOX Tempus Stokhos
ROL Ifpack2 MueLu ThyraEpetraAdapters ThyraEpetraExtAdapters Epetra EpetraExt Tpetra Teko)
SET(TEST_REQUIRED_DEP_PACKAGES)
ROL Ifpack2 MueLu ThyraEpetraAdapters ThyraEpetraExtAdapters Epetra EpetraExt)
SET(TEST_REQUIRED_DEP_PACKAGES ThyraTpetraAdapters MPI)
SET(TEST_OPTIONAL_DEP_PACKAGES)
SET(LIB_REQUIRED_DEP_TPLS )
SET(LIB_OPTIONAL_DEP_TPLS)
Expand Down

0 comments on commit ef34ac5

Please sign in to comment.