Revert "[llvm] [cmake] Set EXCLUDE_FROM_ALL on gtest and TestingSupport"
authorMichał Górny <mgorny@gentoo.org>
Mon, 31 Oct 2022 14:20:48 +0000 (15:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 31 Oct 2022 14:21:18 +0000 (15:21 +0100)
This reverts commit 64959325eb470489ca5757b9bd6eef97b402a0da.  It broke
the flang-aarch64-out-of-tree buildbot.

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