[Mlir-commits] [mlir] [mlir][mlir-spirv-cpu-runner] Move MLIR pass pipeline to mlir-opt (PR #111575)

LLVM Continuous Integration llvmlistbot at llvm.org
Mon Oct 21 07:12:50 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/5244

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
32.145 [21/16/4973] Linking CXX executable bin/mlir-cpu-runner
32.148 [20/16/4974] Linking C executable bin/mlir-capi-sparse-tensor-test
32.153 [19/16/4975] Linking CXX executable bin/mlir-vulkan-runner
32.156 [18/16/4976] Linking C executable bin/mlir-capi-ir-test
32.158 [17/16/4977] Linking C executable bin/mlir-capi-translation-test
32.159 [16/16/4978] Linking C executable bin/mlir-capi-transform-test
32.186 [15/16/4979] Linking C executable bin/mlir-capi-execution-engine-test
32.306 [14/16/4980] Linking C executable bin/mlir-capi-transform-interpreter-test
33.475 [13/16/4981] Building CXX object tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o
33.624 [12/16/4982] Linking CXX shared library lib/libMLIRTestPass.so.20.0git
FAILED: lib/libMLIRTestPass.so.20.0git 
: && /usr/bin/clang++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics   -Wl,--gc-sections -shared -Wl,-soname,libMLIRTestPass.so.20.0git -o lib/libMLIRTestPass.so.20.0git tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestDynamicPipeline.cpp.o tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestPassManager.cpp.o tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:"  lib/libMLIRTestDialect.so.20.0git  lib/libMLIRDerivedAttributeOpInterface.so.20.0git  lib/libMLIRLinalgTransforms.so.20.0git  lib/libMLIRIndexDialect.so.20.0git  lib/libMLIRMemRefTransforms.so.20.0git  lib/libMLIRArithTransforms.so.20.0git  lib/libMLIRFuncTransforms.so.20.0git  lib/libMLIRNVGPUDialect.so.20.0git  lib/libMLIRMeshTransforms.so.20.0git  lib/libMLIRTosaShardingInterfaceImpl.so.20.0git  lib/libMLIRShardingInterface.so.20.0git  lib/libMLIRMeshDialect.so.20.0git  lib/libMLIRTosaDialect.so.20.0git  lib/libMLIRQuantUtils.so.20.0git  lib/libMLIRQuantDialect.so.20.0git  lib/libMLIRSCFTransforms.so.20.0git  lib/libMLIRBufferizationTransforms.so.20.0git  lib/libMLIRTensorTransforms.so.20.0git  lib/libMLIRAffineTransforms.so.20.0git  lib/libMLIRSCFUtils.so.20.0git  lib/libMLIRTensorTilingInterfaceImpl.so.20.0git  lib/libMLIRLinalgUtils.so.20.0git  lib/libMLIRTensorUtils.so.20.0git  lib/libMLIRTilingInterface.so.20.0git  lib/libMLIRVectorToSCF.so.20.0git  lib/libMLIRVectorTransforms.so.20.0git  lib/libMLIRLinalgDialect.so.20.0git  lib/libMLIRBufferizationDialect.so.20.0git  lib/libMLIRParser.so.20.0git  lib/libMLIRBytecodeReader.so.20.0git  lib/libMLIRAsmParser.so.20.0git  lib/libMLIRSparseTensorDialect.so.20.0git  lib/libMLIRMathDialect.so.20.0git  lib/libMLIRAffineUtils.so.20.0git  lib/libMLIRVectorUtils.so.20.0git  lib/libMLIRFuncDialect.so.20.0git  lib/libMLIRVectorDialect.so.20.0git  lib/libMLIRMaskableOpInterface.so.20.0git  lib/libMLIRMaskingOpInterface.so.20.0git  lib/libMLIRAffineAnalysis.so.20.0git  lib/libMLIRSCFDialect.so.20.0git  lib/libMLIRControlFlowDialect.so.20.0git  lib/libMLIRGPUDialect.so.20.0git  lib/libMLIRDLTIDialect.so.20.0git  lib/libMLIRMemRefUtils.so.20.0git  lib/libMLIRVectorInterfaces.so.20.0git  lib/libMLIRLLVMDialect.so.20.0git  lib/libLLVMBitWriter.so.20.0git  lib/libLLVMAsmParser.so.20.0git  lib/libLLVMBitReader.so.20.0git  lib/libLLVMCore.so.20.0git  lib/libLLVMBinaryFormat.so.20.0git  lib/libMLIRPolynomialDialect.so.20.0git  lib/libMLIRReduce.so.20.0git  lib/libMLIRTensorDialect.so.20.0git  lib/libMLIRAffineDialect.so.20.0git  lib/libMLIRMemRefDialect.so.20.0git  lib/libMLIRArithUtils.so.20.0git  lib/libMLIRDialectUtils.so.20.0git  lib/libMLIRComplexDialect.so.20.0git  lib/libMLIRArithDialect.so.20.0git  lib/libMLIRDialect.so.20.0git  lib/libMLIRUBDialect.so.20.0git  lib/libMLIRInferIntRangeCommon.so.20.0git  lib/libMLIRCastInterfaces.so.20.0git  lib/libMLIRParallelCombiningOpInterface.so.20.0git  lib/libMLIRShapedOpInterfaces.so.20.0git  lib/libMLIRTransforms.so.20.0git  lib/libMLIRTransformUtils.so.20.0git  lib/libMLIRSubsetOpInterface.so.20.0git  lib/libMLIRRewrite.so.20.0git  lib/libMLIRRewritePDL.so.20.0git  lib/libMLIRPDLToPDLInterp.so.20.0git  lib/libMLIRPass.so.20.0git  lib/libMLIRPDLInterpDialect.so.20.0git  lib/libMLIRPDLDialect.so.20.0git  lib/libMLIRMemorySlotInterfaces.so.20.0git  lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git  lib/libMLIRValueBoundsOpInterface.so.20.0git  lib/libMLIRAnalysis.so.20.0git  lib/libMLIRControlFlowInterfaces.so.20.0git  lib/libMLIRDataLayoutInterfaces.so.20.0git  lib/libMLIRInferIntRangeInterface.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRCallInterfaces.so.20.0git  lib/libMLIRLoopLikeInterface.so.20.0git  lib/libMLIRFunctionInterfaces.so.20.0git  lib/libMLIRPresburger.so.20.0git  lib/libMLIRSideEffectInterfaces.so.20.0git  lib/libMLIRViewLikeInterface.so.20.0git  lib/libMLIRDestinationStyleOpInterface.so.20.0git  lib/libMLIRIR.so.20.0git  lib/libMLIRSupport.so.20.0git  lib/libLLVMSupport.so.20.0git  -Wl,-rpath-link,/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib && :
ld.lld: error: undefined symbol: mlir::createGpuKernelOutliningPass(llvm::StringRef)
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))

ld.lld: error: undefined symbol: mlir::createConvertGPUToSPIRVPass(bool)
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))

ld.lld: error: undefined symbol: mlir::spirv::createSPIRVLowerABIAttributesPass()
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))

ld.lld: error: undefined symbol: mlir::spirv::createSPIRVUpdateVCEPass()
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))

ld.lld: error: undefined symbol: mlir::createLowerHostCodeToLLVMPass()
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))

ld.lld: error: undefined symbol: mlir::createConvertSPIRVToLLVMPass()
>>> referenced by TestSPIRVCPURunnerPipeline.cpp
>>>               tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestSPIRVCPURunnerPipeline.cpp.o:((anonymous namespace)::buildTestSPIRVCPURunnerPipeline(mlir::OpPassManager&))
clang: error: linker command failed with exit code 1 (use -v to see invocation)
34.205 [12/15/4983] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirAsyncPasses.cpython-310-x86_64-linux-gnu.so
34.469 [12/14/4984] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirGPUPasses.cpython-310-x86_64-linux-gnu.so
34.537 [12/13/4985] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirLinalgPasses.cpython-310-x86_64-linux-gnu.so
34.568 [12/12/4986] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirSparseTensorPasses.cpython-310-x86_64-linux-gnu.so
34.753 [12/11/4987] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsLinalg.cpython-310-x86_64-linux-gnu.so
35.040 [12/10/4988] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsNVGPU.cpython-310-x86_64-linux-gnu.so
35.176 [12/9/4989] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsPDL.cpython-310-x86_64-linux-gnu.so
35.301 [12/8/4990] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirTransformInterpreter.cpython-310-x86_64-linux-gnu.so
35.447 [12/7/4991] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsTransform.cpython-310-x86_64-linux-gnu.so
35.537 [12/6/4992] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsLLVM.cpython-310-x86_64-linux-gnu.so
35.578 [12/5/4993] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsGPU.cpython-310-x86_64-linux-gnu.so
35.613 [12/4/4994] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsQuant.cpython-310-x86_64-linux-gnu.so
36.431 [12/3/4995] Linking CXX shared module tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsSparseTensor.cpython-310-x86_64-linux-gnu.so

```

</details>

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


More information about the Mlir-commits mailing list