Skip to content

Commit

Permalink
add joblib into CMakeFile.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Oct 4, 2024
1 parent 3d9323a commit 4f32c43
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ else()
message ( "----> warning (optional) pathos is NOT found!" )
endif()

# ========================================================================================


# ========================================================================================
## lmdb : check&install only if mdb_stat exists ...
# ========================================================================================
Expand All @@ -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
Expand Down

0 comments on commit 4f32c43

Please sign in to comment.