[Mlir-commits] [mlir] d8d30a9 - Revert "[mlir-cpu-runner] Pass --exclude-libs to linker when building runner (#122329)"
Andrea Faulds
llvmlistbot at llvm.org
Tue Jan 14 05:47:38 PST 2025
Author: Andrea Faulds
Date: 2025-01-14T14:45:19+01:00
New Revision: d8d30a96031bfdad3e2c424e14a4247c14980cb5
URL: https://github.com/llvm/llvm-project/commit/d8d30a96031bfdad3e2c424e14a4247c14980cb5
DIFF: https://github.com/llvm/llvm-project/commit/d8d30a96031bfdad3e2c424e14a4247c14980cb5.diff
LOG: Revert "[mlir-cpu-runner] Pass --exclude-libs to linker when building runner (#122329)"
This reverts commit f879da799b4e112d79243dde6d299259d8359eeb. The change
to not export certain symbols apparently broke the UBsan/Asan buildbot,
because the DSO for the sanitizer wants to link to them.
Added:
Modified:
mlir/tools/mlir-cpu-runner/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
index f6ed2ed414647c..811583b97bc71d 100644
--- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt
+++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
@@ -26,10 +26,3 @@ target_link_libraries(mlir-cpu-runner PRIVATE
MLIRExecutionEngine
MLIRJitRunner
)
-target_link_options(mlir-cpu-runner
- PRIVATE
- # On Linux, disable re-export of any static linked libraries that came
- # through. This prevents our LLVM build from interfering with the version of
- # LLVM included in certain graphics drivers.
- $<$<PLATFORM_ID:Linux>:LINKER:--exclude-libs,ALL>
-)
More information about the Mlir-commits
mailing list