Author: Wenju He
Date: 2026-04-15T08:45:49+08:00
New Revision: c1fc739b5d6b731bf0fb4477d4605102407a933b

URL: 
https://github.com/llvm/llvm-project/commit/c1fc739b5d6b731bf0fb4477d4605102407a933b
DIFF: 
https://github.com/llvm/llvm-project/commit/c1fc739b5d6b731bf0fb4477d4605102407a933b.diff

LOG: [libclc] Only add test folder when LLVM_INCLUDE_TESTS is ON (#191948)

Added: 
    

Modified: 
    libclc/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index 277cfcf3b0d09..c5869d2252161 100644
--- a/libclc/CMakeLists.txt
+++ b/libclc/CMakeLists.txt
@@ -265,4 +265,6 @@ add_libclc_library(libclc-${LIBCLC_TARGET}
   PARENT_TARGET libclc-opencl-builtins
 )
 
-add_subdirectory(test)
+if(LLVM_INCLUDE_TESTS)
+  add_subdirectory(test)
+endif()


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to