diff --git a/ostap/CMakeLists.txt b/ostap/CMakeLists.txt index 2266d31f..c159bc99 100644 --- a/ostap/CMakeLists.txt +++ b/ostap/CMakeLists.txt @@ -121,6 +121,9 @@ else() message ( "----> warning (optional) pathos is NOT found!" ) endif() +# ======================================================================================== + + # ======================================================================================== ## lmdb : check&install only if mdb_stat exists ... # ======================================================================================== @@ -137,6 +140,19 @@ if ( ${PYTHON_VERSION} VERSION_GREATER_EQUAL "3.7" ) endif() endif() endif() + +# ======================================================================================= +## joblib: run some numpy-related code in parallel +# ======================================================================================= + +find_python_module ( joblib QUIET ) +if ( NOT ${PY_joblib_FOUND} ) + execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install joblib ${PIP_ARGS}) +endif() +find_python_module ( joblib QUIET ) +if ( NOT ${PY_joblib_FOUND} ) + message ( "----> warning (optional) joblib is NOT found!" ) +endif() # ======================================================================================== ## terminaltables3 & terminaltables