[Mlir-commits] [mlir] b599f46 - [mlir][CMAKE] Fix build with BUILD_SHARED_LIBS=ON

Alex Zinenko llvmlistbot at llvm.org
Wed Mar 10 05:52:42 PST 2021


Author: Vladislav Vinogradov
Date: 2021-03-10T14:52:36+01:00
New Revision: b599f464d4aab388e95f7a646c2657b40bd8a9f9

URL: https://github.com/llvm/llvm-project/commit/b599f464d4aab388e95f7a646c2657b40bd8a9f9
DIFF: https://github.com/llvm/llvm-project/commit/b599f464d4aab388e95f7a646c2657b40bd8a9f9.diff

LOG: [mlir][CMAKE] Fix build with BUILD_SHARED_LIBS=ON

Link `MLIRStandardToLLVM` to `MLIRAVX512Transforms`, since
the latter uses `LLVMTypeConverter` defined in the first one.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D98336

Added: 
    

Modified: 
    mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt b/mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt
index 00ef9deee539..c58221389721 100644
--- a/mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt
@@ -8,4 +8,5 @@ add_mlir_dialect_library(MLIRAVX512Transforms
   MLIRAVX512
   MLIRIR
   MLIRLLVMIR
+  MLIRStandardToLLVM
   )


        


More information about the Mlir-commits mailing list