We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ec20de commit 82037f2Copy full SHA for 82037f2
cmake/ONEMKL.cmake
@@ -19,5 +19,7 @@ set(TORCH_XPU_OPS_ONEMKL_INCLUDE_DIR ${ONEMKL_INCLUDE_DIR})
19
20
set(TORCH_XPU_OPS_ONEMKL_LIBRARIES ${ONEMKL_LIBRARIES})
21
22
-list(INSERT TORCH_XPU_OPS_ONEMKL_LIBRARIES 1 "-Wl,--start-group")
+list(INSERT TORCH_XPU_OPS_ONEMKL_LIBRARIES 3 "-Wl,--start-group")
23
list(APPEND TORCH_XPU_OPS_ONEMKL_LIBRARIES "-Wl,--end-group")
24
+list(INSERT TORCH_XPU_OPS_ONEMKL_LIBRARIES 0 "-Wl,--no-as-needed")
25
+list(INSERT TORCH_XPU_OPS_ONEMKL_LIBRARIES 4 "-Wl,--as-needed")
0 commit comments