Skip to content

Commit

Permalink
Dump direct dependencies for external and internal packages (TriBITSP…
Browse files Browse the repository at this point in the history
…ub#63, TriBITSPub#494)

And with this I can strengthen the tests later.
  • Loading branch information
bartlettroscoe committed Jul 14, 2022
1 parent 9f9a81a commit cff283f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,47 @@ Printing package dependencies ...
-- Panzer_LIB_REQUIRED_DEP_TPLS: MPI Boost


Dumping direct dependencies for each SE package ...
Dumping direct dependencies for each package ...

-- MPI_LIB_ALL_DEPENDENCIES:

-- BLAS_LIB_ALL_DEPENDENCIES:

-- LAPACK_LIB_ALL_DEPENDENCIES:

-- Boost_LIB_ALL_DEPENDENCIES:

-- Scotch_LIB_ALL_DEPENDENCIES:

-- METIS_LIB_ALL_DEPENDENCIES:

-- ParMETIS_LIB_ALL_DEPENDENCIES:

-- CppUnit_LIB_ALL_DEPENDENCIES:

-- ADOLC_LIB_ALL_DEPENDENCIES:

-- ADIC_LIB_ALL_DEPENDENCIES:

-- TVMET_LIB_ALL_DEPENDENCIES:

-- y12m_LIB_ALL_DEPENDENCIES:

-- SuperLUDist_LIB_ALL_DEPENDENCIES:

-- SuperLU_LIB_ALL_DEPENDENCIES:

-- UMFPACK_LIB_ALL_DEPENDENCIES:

-- AMD_LIB_ALL_DEPENDENCIES:

-- PETSC_LIB_ALL_DEPENDENCIES:

-- MUMPS_LIB_ALL_DEPENDENCIES:

-- DUMMY_LIB_ALL_DEPENDENCIES:

-- TrilinosFramework_LIB_ALL_DEPENDENCIES:
-- TrilinosFramework_TEST_ALL_DEPENDENCIES: MPI

-- Teuchos_LIB_ENABLED_DEPENDENCIES: BLAS LAPACK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function(TribitsExampleProject_ALL_ST_NoFortran sharedOrStatic serialOrMpi)
"Setting TribitsExProj_ENABLE_WithSubpackages=ON"
"Setting TPL_ENABLE_HeaderOnlyTpl=ON because it is required by the enabled package SimpleCxx"
"Set cache entries for optional packages/TPLs and tests/examples for packages actually enabled ..."
"Dumping direct dependencies for each SE package ..."
"Dumping direct dependencies for each package ..."
"-- SimpleCxx_LIB_ENABLED_DEPENDENCIES: HeaderOnlyTpl"
"-- SimpleCxx_LIB_ALL_DEPENDENCIES: HeaderOnlyTpl SimpleTpl"
"-- MixedLang_LIB_ALL_DEPENDENCIES: "
Expand Down
8 changes: 4 additions & 4 deletions tribits/core/package_arch/TribitsAdjustPackageEnables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ endmacro()

# Function to print the direct package dependency lists
#
function(tribits_print_direct_package_dependencies_lists packageName)
function(tribits_print_direct_package_dependencies_lists packageName)
set(PRINTED_VAR "")
message("")
print_nonempty_var_with_spaces(${packageName}_LIB_ENABLED_DEPENDENCIES PRINTED_VAR)
Expand Down Expand Up @@ -1480,9 +1480,9 @@ macro(tribits_adjust_package_enables)
endforeach()

if (${PROJECT_NAME}_DUMP_PACKAGE_DEPENDENCIES)
message("\nDumping direct dependencies for each SE package ...")
foreach(TRIBITS_PACKAGE ${${PROJECT_NAME}_SE_PACKAGES})
tribits_print_direct_package_dependencies_lists(${TRIBITS_PACKAGE})
message("\nDumping direct dependencies for each package ...")
foreach(tribitsPkg IN LISTS ${PROJECT_NAME}_DEFINED_TPLS ${PROJECT_NAME}_SE_PACKAGES)
tribits_print_direct_package_dependencies_lists(${tribitsPkg})
endforeach()
endif()

Expand Down

0 comments on commit cff283f

Please sign in to comment.