Skip to content

Commit f5259c4

Browse files
authored
upgrade oneccl to 2021.12 (#3324) (#3327)
1 parent 12980bb commit f5259c4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

csrc/cpu/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ if(BUILD_CPU_WITH_ONECCL)
2020
find_package(oneCCL REQUIRED)
2121
list(APPEND DEPENDS_LIB oneCCL)
2222
list(APPEND DEPENDS_LIB mpi)
23+
set(RPATH_VALUE)
24+
list(APPEND RPATH_VALUE "$ORIGIN")
25+
list(APPEND RPATH_VALUE "$ORIGIN/../opt/mpi/lib")
26+
set(CMAKE_INSTALL_RPATH "${RPATH_VALUE}")
2327
endif()
2428

2529
# TODO: Once llga is merged into oneDNN, use oneDNN directly as the third_party of IPEX

dependency_version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"commit": "v0.15.2"
2525
},
2626
"oneCCL": {
27-
"commit": "2021.11"
27+
"commit": "2021.12"
2828
},
2929
"lm-evaluation-harness": {
3030
"commit": "cc9778fbe4fa1a709be2abed9deb6180fd40e7e2"

third_party/oneCCL

0 commit comments

Comments
 (0)