Skip to content

Commit

Permalink
Define dummy TPLs listed in Zoltan's TPL dependencies list (TriBITSPu…
Browse files Browse the repository at this point in the history
…b/TriBITS#63)

The updated version of TriBITS requires that all TPLs listed in a package's
Dependencies.cmake file be defined.  For some reason, the TPLs PaToH, Scotch,
CCOLAMD, and OVIS listed in zoltan/cmake/Dependencies.cmake are not defined in
the base TriBITS repo file seacas/TPLsList.cmake.  Old TriBITS would just
ignore these undefined TPLs but new TriBITS will error out by default.

We have defined the FindTPL<tplName>.cmake files to error out if these TPLs
are ever enabled (and these files are processesd).
  • Loading branch information
bartlettroscoe committed Dec 21, 2022
1 parent e3ae529 commit 9617951
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TPLsList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ SET( Seacas_TPLS_FINDMODS_CLASSIFICATIONS
Cereal "${PROJECT_SOURCE_DIR}/packages/seacas/cmake/tpls/" ST
ADIOS2 "${PROJECT_SOURCE_DIR}/packages/seacas/cmake/tpls/FindTPLADIOS2.cmake" EX
Catalyst2 "${PROJECT_SOURCE_DIR}/packages/seacas/cmake/tpls/FindTPLCatalyst2.cmake" EX
# TPLs defined in Zoltan/cmake/Dependencies.cmake that are never enabled
PaToH "cmake/TPLs/" EX
Scotch "cmake/TPLs/" EX
CCOLAMD "cmake/TPLs/" EX
OVIS "cmake/TPLs/" EX
)
2 changes: 2 additions & 0 deletions cmake/TPLs/FindTPLCCOLAMD.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
message(FATAL_ERROR
"Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}")
2 changes: 2 additions & 0 deletions cmake/TPLs/FindTPLOVIS.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
message(FATAL_ERROR
"Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}")
2 changes: 2 additions & 0 deletions cmake/TPLs/FindTPLPaToH.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
message(FATAL_ERROR
"Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}")
2 changes: 2 additions & 0 deletions cmake/TPLs/FindTPLScotch.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
message(FATAL_ERROR
"Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}")

0 comments on commit 9617951

Please sign in to comment.