[libc-commits] [PATCH] D76577: [libc] Don't configure test and fuzzer when -DLLVM_INCLUDE_TESTS=OFF
Alex Brachet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sun Mar 22 23:06:08 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa1762f9ceb95: [libc] Don't configure test and fuzzer when -DLLVM_INCLUDE_TESTS=OFF (authored by abrachet).
Herald added a project: libc-project.
Herald added a subscriber: libc-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76577/new/
https://reviews.llvm.org/D76577
Files:
libc/CMakeLists.txt
Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -32,5 +32,7 @@
# and libraries potentially draw from the components present in all
# of the other directories.
add_subdirectory(lib)
-add_subdirectory(test)
-add_subdirectory(fuzzing)
+if(LLVM_INCLUDE_TESTS)
+ add_subdirectory(test)
+ add_subdirectory(fuzzing)
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76577.251947.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200323/02ab7aec/attachment.bin>
More information about the libc-commits
mailing list