Skip to content

Commit fcf1cdc

Browse files
committed
[CMake] Never look for Python module quietly
The output with the version info when the module is found is very useful.
1 parent 03ced5f commit fcf1cdc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tmva/tmva/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ endif()
3737

3838
if(dataframe)
3939
# Test uses the xgboost sklearn plugin, so we need to check for sklearn too.
40-
ROOT_FIND_PYTHON_MODULE(xgboost QUIET)
41-
ROOT_FIND_PYTHON_MODULE(sklearn QUIET)
40+
ROOT_FIND_PYTHON_MODULE(xgboost)
41+
ROOT_FIND_PYTHON_MODULE(sklearn)
4242
if (ROOT_XGBOOST_FOUND AND ROOT_SKLEARN_FOUND)
4343
ROOT_ADD_PYUNITTEST(rbdt_xgboost rbdt_xgboost.py)
4444
endif()

tutorials/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@ else()
344344
list(APPEND tmva_veto machine_learning/envelope/classification.C)
345345
endif()
346346
#these depends on external packages
347-
ROOT_FIND_PYTHON_MODULE(torch QUIET)
348-
ROOT_FIND_PYTHON_MODULE(keras QUIET)
349-
ROOT_FIND_PYTHON_MODULE(sonnet QUIET)
350-
ROOT_FIND_PYTHON_MODULE(graph_nets QUIET)
347+
ROOT_FIND_PYTHON_MODULE(torch)
348+
ROOT_FIND_PYTHON_MODULE(keras)
349+
ROOT_FIND_PYTHON_MODULE(sonnet)
350+
ROOT_FIND_PYTHON_MODULE(graph_nets)
351351
if (NOT BLAS_FOUND)
352352
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_GNN_Application.C)
353353
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame.C)

0 commit comments

Comments
 (0)