Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions mlir/tools/mlir-cpu-runner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ target_link_libraries(mlir-cpu-runner PRIVATE
MLIRExecutionEngine
MLIRJitRunner
)

# Preventing re-export of symbols causes link errors with ASan and UBSan libs.
# AMD: Disabled as it causes passed to not be registered
#if (NOT LLVM_USE_SANITIZER)
# 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>
# )
#endif()