Skip to content

Commit d8d30a9

Browse files
committed
Revert "[mlir-cpu-runner] Pass --exclude-libs to linker when building runner (#122329)"
This reverts commit f879da7. The change to not export certain symbols apparently broke the UBsan/Asan buildbot, because the DSO for the sanitizer wants to link to them.
1 parent 428c876 commit d8d30a9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,3 @@ target_link_libraries(mlir-cpu-runner PRIVATE
2626
MLIRExecutionEngine
2727
MLIRJitRunner
2828
)
29-
target_link_options(mlir-cpu-runner
30-
PRIVATE
31-
# On Linux, disable re-export of any static linked libraries that came
32-
# through. This prevents our LLVM build from interfering with the version of
33-
# LLVM included in certain graphics drivers.
34-
$<$<PLATFORM_ID:Linux>:LINKER:--exclude-libs,ALL>
35-
)

0 commit comments

Comments
 (0)