[Mlir-commits] [mlir] e5e709a - Fix build break with BUILD_SHARED_LIBS=ON

Krzysztof Parzyszek llvmlistbot at llvm.org
Thu Mar 5 09:22:39 PST 2026


Author: Krzysztof Parzyszek
Date: 2026-03-05T11:21:56-06:00
New Revision: e5e709adeec3c5c063fc756d077a9b53dc469eb2

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

LOG: Fix build break with BUILD_SHARED_LIBS=ON

/usr/bin/ld: tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIR
VectorToXeGPU.dir/VectorToXeGPU.cpp.o: in function `(anonymous namespace
)::ConvertVectorToXeGPUPass::runOnOperation()':
VectorToXeGPU.cpp:(.text._ZN12_GLOBAL__N_124ConvertVectorToXeGPUPass14ru
nOnOperationEv+0xbc): undefined reference to `mlir::populatePrepareVecto
rToMMAPatterns(mlir::RewritePatternSet&, bool)'
clang++: error: linker command failed with exit code 1 (use -v to see in
vocation)

Added: 
    

Modified: 
    mlir/lib/Conversion/VectorToXeGPU/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/VectorToXeGPU/CMakeLists.txt b/mlir/lib/Conversion/VectorToXeGPU/CMakeLists.txt
index e9ad67c52820d..dd699f5b1880e 100644
--- a/mlir/lib/Conversion/VectorToXeGPU/CMakeLists.txt
+++ b/mlir/lib/Conversion/VectorToXeGPU/CMakeLists.txt
@@ -12,6 +12,7 @@ add_mlir_conversion_library(MLIRVectorToXeGPU
   MLIRMemRefDialect
   MLIRTransforms
   MLIRVectorDialect
+  MLIRVectorToGPU
   MLIRXeGPUDialect
   MLIRXeGPUUtils
   )


        


More information about the Mlir-commits mailing list