File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ add_bolt_unittest(CoreTests
11
11
MemoryMaps.cpp
12
12
DynoStats.cpp
13
13
14
+ # FIXME CoreTests uses `llvm::detail::TakeError(llvm::Error)`, but linking
15
+ # to LLVMTestingSupport introduces a transitive dependency on the
16
+ # dynamic LLVM library when LLVM_LINK_LLVM_DYLIB is ON.
17
+ ${LLVM_MAIN_SRC_DIR} /lib/Testing/Support/Error.cpp
18
+
14
19
DISABLE_LLVM_LINK_LLVM_DYLIB
15
20
)
16
21
@@ -20,7 +25,6 @@ target_link_libraries(CoreTests
20
25
LLVMBOLTRewrite
21
26
LLVMBOLTProfile
22
27
LLVMBOLTUtils
23
- LLVMTestingSupport
24
28
)
25
29
26
30
foreach (tgt ${BOLT_TARGETS_TO_BUILD} )
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ target_link_libraries(ProfileTests
16
16
LLVMBOLTCore
17
17
LLVMBOLTProfile
18
18
LLVMTargetParser
19
- LLVMTestingSupport
20
19
)
21
20
22
21
foreach (tgt ${BOLT_TARGETS_TO_BUILD} )
You can’t perform that action at this time.
0 commit comments