From 961795103015b0bf7e95dccc4409e5161d4d332f Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 21 Dec 2022 15:01:33 -0700 Subject: [PATCH] Define dummy TPLs listed in Zoltan's TPL dependencies list (TriBITSPub/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.cmake files to error out if these TPLs are ever enabled (and these files are processesd). --- TPLsList.cmake | 5 +++++ cmake/TPLs/FindTPLCCOLAMD.cmake | 2 ++ cmake/TPLs/FindTPLOVIS.cmake | 2 ++ cmake/TPLs/FindTPLPaToH.cmake | 2 ++ cmake/TPLs/FindTPLScotch.cmake | 2 ++ 5 files changed, 13 insertions(+) create mode 100644 cmake/TPLs/FindTPLCCOLAMD.cmake create mode 100644 cmake/TPLs/FindTPLOVIS.cmake create mode 100644 cmake/TPLs/FindTPLPaToH.cmake create mode 100644 cmake/TPLs/FindTPLScotch.cmake diff --git a/TPLsList.cmake b/TPLsList.cmake index 403d55a928..67ec4d6857 100644 --- a/TPLsList.cmake +++ b/TPLsList.cmake @@ -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 ) diff --git a/cmake/TPLs/FindTPLCCOLAMD.cmake b/cmake/TPLs/FindTPLCCOLAMD.cmake new file mode 100644 index 0000000000..6452002433 --- /dev/null +++ b/cmake/TPLs/FindTPLCCOLAMD.cmake @@ -0,0 +1,2 @@ +message(FATAL_ERROR + "Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}") diff --git a/cmake/TPLs/FindTPLOVIS.cmake b/cmake/TPLs/FindTPLOVIS.cmake new file mode 100644 index 0000000000..6452002433 --- /dev/null +++ b/cmake/TPLs/FindTPLOVIS.cmake @@ -0,0 +1,2 @@ +message(FATAL_ERROR + "Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}") diff --git a/cmake/TPLs/FindTPLPaToH.cmake b/cmake/TPLs/FindTPLPaToH.cmake new file mode 100644 index 0000000000..6452002433 --- /dev/null +++ b/cmake/TPLs/FindTPLPaToH.cmake @@ -0,0 +1,2 @@ +message(FATAL_ERROR + "Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}") diff --git a/cmake/TPLs/FindTPLScotch.cmake b/cmake/TPLs/FindTPLScotch.cmake new file mode 100644 index 0000000000..6452002433 --- /dev/null +++ b/cmake/TPLs/FindTPLScotch.cmake @@ -0,0 +1,2 @@ +message(FATAL_ERROR + "Error, the TPL ${TPL_NAME} is not defined for the CMake project ${PROJECT_NAME}")