[mlir] [llvm] fix linking on riscv64 (PR #74167)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 19:56:56 PST 2023


================
@@ -16,4 +16,6 @@ add_mlir_library(MLIRPass
   LINK_LIBS PUBLIC
   MLIRAnalysis
   MLIRIR
+  PRIVATE
+  ${LLVM_ATOMIC_LIB}
----------------
joker-eph wrote:

Why isn't this part of `add_mlir_library`? Seems a bit random to add this here and there right now.

https://github.com/llvm/llvm-project/pull/74167


More information about the llvm-commits mailing list