文件
rocm-systems/projects/rccl/ext-src/disable-format-checks.patch
T

忽略 .git-blame-ignore-revs 的修订。点击 绕过 并查看正常的 Blame 视图。

16 行
389 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a94b634..09ca1fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,7 +92,9 @@ else()
endif()
# Format targets
-include(${PROJECT_SOURCE_DIR}/cmake/AddFormatTargets.cmake)
+if(MSCCLPP_ENABLE_FORMAT_CHECKS)
+ include(${PROJECT_SOURCE_DIR}/cmake/AddFormatTargets.cmake)
+endif()
# Find ibverbs and libnuma
find_package(IBVerbs)