Revert "[llvm] [cmake] Set EXCLUDE_FROM_ALL on gtest and TestingSupport"
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Nov 2022 08:06:16 +0000 (09:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 6 Nov 2022 08:06:16 +0000 (09:06 +0100)
This reverts commit b6be37b0be5e1b524456c375700c76b7dae5171c.  Still
breaks flang.

llvm/lib/Testing/Support/CMakeLists.txt
llvm/utils/unittest/CMakeLists.txt

index 385d8ec..81774eb 100644 (file)
@@ -1,7 +1,3 @@
-# Do not build unittest libraries automatically, they will be pulled in
-# by unittests if these are built.
-set(EXCLUDE_FROM_ALL ON)
-
 add_llvm_library(LLVMTestingSupport
   Annotations.cpp
   Error.cpp
index 302e9e0..0e54e0e 100644 (file)
@@ -38,10 +38,6 @@ if (HAVE_LIBPTHREAD)
   list(APPEND LIBS pthread)
 endif()
 
-# Do not build unittest libraries automatically, they will be pulled in
-# by unittests if these are built.
-set(EXCLUDE_FROM_ALL ON)
-
 add_llvm_library(llvm_gtest
   googletest/src/gtest-all.cc
   googlemock/src/gmock-all.cc