Skip to content

Commit 81e973d

Browse files
committed
Merge branch 'bump_to_1b2c8f10' into bump_to_0195ec45
2 parents 4ce17f1 + ccb5fa0 commit 81e973d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,15 @@ 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+
# AMD: Disabled as it causes passed to not be registered
32+
#if (NOT LLVM_USE_SANITIZER)
33+
# target_link_options(mlir-cpu-runner
34+
# PRIVATE
35+
# # On Linux, disable re-export of any static linked libraries that came
36+
# # through. This prevents our LLVM build from interfering with the version
37+
# # of LLVM included in certain graphics drivers.
38+
# $<$<PLATFORM_ID:Linux>:LINKER:--exclude-libs,ALL>
39+
# )
40+
#endif()

0 commit comments

Comments
 (0)