[CI] address cmakelint warnings about whitespace (#9674)

This commit is contained in:
James Lamb
2023-10-13 23:46:07 -05:00
committed by GitHub
parent 53049b16b8
commit eb562d3829
15 changed files with 133 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
if (NVML_LIBRARY)
if(NVML_LIBRARY)
unset(NVML_LIBRARY CACHE)
endif()

View File

@@ -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()