[CI] address cmakelint warnings about whitespace (#9674)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if (NVML_LIBRARY)
|
||||
if(NVML_LIBRARY)
|
||||
unset(NVML_LIBRARY CACHE)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -35,17 +35,17 @@
|
||||
#
|
||||
# This module assumes that the user has already called find_package(CUDA)
|
||||
|
||||
if (NCCL_LIBRARY)
|
||||
if(NCCL_LIBRARY)
|
||||
if(NOT USE_NCCL_LIB_PATH)
|
||||
# Don't cache NCCL_LIBRARY to enable switching between static and shared.
|
||||
unset(NCCL_LIBRARY CACHE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (BUILD_WITH_SHARED_NCCL)
|
||||
if(BUILD_WITH_SHARED_NCCL)
|
||||
# libnccl.so
|
||||
set(NCCL_LIB_NAME nccl)
|
||||
else ()
|
||||
else()
|
||||
# libnccl_static.a
|
||||
set(NCCL_LIB_NAME nccl_static)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user