Skip to content

Commit 2dbbe7d

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 02b4fa8 commit 2dbbe7d

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
@@ -343,10 +343,10 @@ else()
343343
list(APPEND tmva_veto machine_learning/envelope/classification.C)
344344
endif()
345345
#these depends on external packages
346-
ROOT_FIND_PYTHON_MODULE(torch QUIET)
347-
ROOT_FIND_PYTHON_MODULE(keras QUIET)
348-
ROOT_FIND_PYTHON_MODULE(sonnet QUIET)
349-
ROOT_FIND_PYTHON_MODULE(graph_nets QUIET)
346+
ROOT_FIND_PYTHON_MODULE(torch)
347+
ROOT_FIND_PYTHON_MODULE(keras)
348+
ROOT_FIND_PYTHON_MODULE(sonnet)
349+
ROOT_FIND_PYTHON_MODULE(graph_nets)
350350
if (NOT BLAS_FOUND)
351351
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_GNN_Application.C)
352352
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame.C)

0 commit comments

Comments
 (0)