[PATCH] D131861: [llvm] Include utils/unittest before projects and runtimes
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 08:46:04 PDT 2022
JDevlieghere updated this revision to Diff 452690.
JDevlieghere marked an inline comment as done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131861/new/
https://reviews.llvm.org/D131861
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -1141,6 +1141,9 @@
add_subdirectory(utils/UnicodeData)
add_subdirectory(utils/yaml-bench)
add_subdirectory(utils/split-file)
+ if( LLVM_INCLUDE_TESTS )
+ add_subdirectory(utils/unittest)
+ endif()
else()
if ( LLVM_INCLUDE_TESTS )
message(FATAL_ERROR "Including tests when not building utils will not work.
@@ -1185,9 +1188,6 @@
add_subdirectory(utils/lit)
add_subdirectory(test)
add_subdirectory(unittests)
- if( LLVM_INCLUDE_UTILS )
- add_subdirectory(utils/unittest)
- endif()
if (WIN32)
# This utility is used to prevent crashing tests from calling Dr. Watson on
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131861.452690.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220815/a8d2c198/attachment.bin>
More information about the llvm-commits
mailing list