[CI] Stop vendoring libomp.dylib in MacOS Python wheels (#10440)
This commit is contained in:
committed by
GitHub
parent
b9e5229ff2
commit
8689f0b562
@@ -24,3 +24,8 @@ target_include_directories(xgboost4j
|
||||
${PROJECT_SOURCE_DIR}/dmlc-core/include)
|
||||
|
||||
set_output_directory(xgboost4j ${PROJECT_SOURCE_DIR}/lib)
|
||||
|
||||
# MacOS: Patch libxgboost4j.dylib to use @rpath/libomp.dylib
|
||||
if(USE_OPENMP AND APPLE)
|
||||
patch_openmp_path_macos(xgboost4j libxgboost4j)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user