[all-commits] [llvm/llvm-project] b74385: Fix link of libmlir.so by adding ExecutionEngine a...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Mar 8 12:33:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b743850b736e4a89378be8bed61c1b3489b56d19
      https://github.com/llvm/llvm-project/commit/b743850b736e4a89378be8bed61c1b3489b56d19
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M mlir/lib/Dialect/GPU/CMakeLists.txt

  Log Message:
  -----------
  Fix link of libmlir.so by adding ExecutionEngine as dependency to GPUTransforms

This feels like a layering violation, but it fixes the build.

Fixes #54242

tools/mlir/lib/Dialect/GPU/CMakeFiles/obj.MLIRGPUTransforms.dir/Transforms/SerializeToHsaco.cpp.o:SerializeToHsaco.cpp:function (anonymous namespace)::SerializeToHsacoPass::optimizeLlvm(llvm::Module&, llvm::TargetMachine&):
error: undefined reference to 'mlir::makeOptimizingTransformer(unsigned int, unsigned int, llvm::TargetMachine*)'




More information about the All-commits mailing list