Skip to content

Commit 788bd48

Browse files
committed
Disable linking the dylib from TestingSupport, it only uses Support
1 parent 1eb025c commit 788bd48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bolt/unittests/Profile/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ target_link_libraries(ProfileTests
1515
PRIVATE
1616
LLVMBOLTCore
1717
LLVMBOLTProfile
18-
LLVMTargetParser
19-
LLVMTestingSupport
2018
)
2119

2220
foreach (tgt ${BOLT_TARGETS_TO_BUILD})

llvm/lib/Testing/Support/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ add_llvm_library(LLVMTestingSupport
1414
ADDITIONAL_HEADER_DIRS
1515
${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
1616

17+
DISABLE_LLVM_LINK_LLVM_DYLIB
18+
1719
LINK_COMPONENTS
1820
Support
1921
)

0 commit comments

Comments
 (0)