[Mlir-commits] [mlir] 83e23d2 - Fix MLIR build with shared libraries enabled

Mehdi Amini llvmlistbot at llvm.org
Sat May 20 15:46:22 PDT 2023


Author: Mehdi Amini
Date: 2023-05-20T15:45:55-07:00
New Revision: 83e23d25365e140561c71f0a8876f6d39a1a3339

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

LOG: Fix MLIR build with shared libraries enabled

Missing dependencies in CMake which does not impact static builds.

Added: 
    

Modified: 
    mlir/test/lib/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/IR/CMakeLists.txt b/mlir/test/lib/IR/CMakeLists.txt
index 627036d021fb..b7411a34c11e 100644
--- a/mlir/test/lib/IR/CMakeLists.txt
+++ b/mlir/test/lib/IR/CMakeLists.txt
@@ -25,6 +25,8 @@ add_mlir_library(MLIRTestIR
 
   LINK_LIBS PUBLIC
   MLIRPass
+  MLIRBytecodeReader
+  MLIRBytecodeWriter
   MLIRTestDialect
   )
 


        


More information about the Mlir-commits mailing list