Skip to content

Commit 6106816

Browse files
committed
Revert "[llvm] [cmake] Set EXCLUDE_FROM_ALL on gtest and TestingSupport"
This reverts commit b6be37b. Still breaks flang.
1 parent b6be37b commit 6106816

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

llvm/lib/Testing/Support/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Do not build unittest libraries automatically, they will be pulled in
2-
# by unittests if these are built.
3-
set(EXCLUDE_FROM_ALL ON)
4-
51
add_llvm_library(LLVMTestingSupport
62
Annotations.cpp
73
Error.cpp

llvm/utils/unittest/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ if (HAVE_LIBPTHREAD)
3838
list(APPEND LIBS pthread)
3939
endif()
4040

41-
# Do not build unittest libraries automatically, they will be pulled in
42-
# by unittests if these are built.
43-
set(EXCLUDE_FROM_ALL ON)
44-
4541
add_llvm_library(llvm_gtest
4642
googletest/src/gtest-all.cc
4743
googlemock/src/gmock-all.cc

0 commit comments

Comments
 (0)