From 89e8c9af8567b9b171fa542717a6eef19ee8ef85 Mon Sep 17 00:00:00 2001 From: "Han, Chao1" Date: Thu, 12 Dec 2024 18:27:06 +0800 Subject: [PATCH] update --- cmake/Modules/FindXCCL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/FindXCCL.cmake b/cmake/Modules/FindXCCL.cmake index c4b4c1e50..1881cf3aa 100644 --- a/cmake/Modules/FindXCCL.cmake +++ b/cmake/Modules/FindXCCL.cmake @@ -8,8 +8,8 @@ include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) set(XCCL_ROOT "/opt/intel/oneapi/ccl/latest") if (NOT EXISTS "${XCCL_ROOT}") - message(STATUS "Default OneCCL not found, using current environment OneAPI") - set(XCCL_ROOT $ENV{ONEAPI_ROOT}/ccl/latest) + message(STATUS "Default OneCCL not found, using current environment OneCCL") + set(XCCL_ROOT $ENV{CCL_ROOT}) endif() string(COMPARE EQUAL "${XCCL_ROOT}" "" nocclfound)