Skip to content

Commit 7a03692

Browse files
committed
Revert "[mlir-cpu-runner] Pass --exclude-libs to linker when building runner (llvm#122920)"
Revert as this caused LIT test to fail, due to some passes not being registered This reverts commit 7402521.
1 parent 4aaee88 commit 7a03692

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

mlir/tools/mlir-cpu-runner/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,3 @@ target_link_libraries(mlir-cpu-runner PRIVATE
2626
MLIRExecutionEngine
2727
MLIRJitRunner
2828
)
29-
30-
# Preventing re-export of symbols causes link errors with ASan and UBSan libs.
31-
if (NOT LLVM_USE_SANITIZER)
32-
target_link_options(mlir-cpu-runner
33-
PRIVATE
34-
# On Linux, disable re-export of any static linked libraries that came
35-
# through. This prevents our LLVM build from interfering with the version
36-
# of LLVM included in certain graphics drivers.
37-
$<$<PLATFORM_ID:Linux>:LINKER:--exclude-libs,ALL>
38-
)
39-
endif()

0 commit comments

Comments
 (0)