[Mlir-commits] [llvm] [mlir] Fix CMake dependencies on mlir-linalg-ods-yaml-gen (PR #112224)

LLVM Continuous Integration llvmlistbot at llvm.org
Mon Oct 21 15:22:59 PDT 2024


llvm-ci wrote:

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

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

<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)
...
0.282 [4343/16/230] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolDumper.cpp.o
0.283 [4342/16/231] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolRecordMapping.cpp.o
0.284 [4341/16/232] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolSerializer.cpp.o
0.284 [4340/16/233] Building C object utils/count/CMakeFiles/count.dir/count.c.o
0.285 [4339/16/234] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndexDiscovery.cpp.o
0.286 [4338/16/235] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeDumpVisitor.cpp.o
0.287 [4337/16/236] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeIndex.cpp.o
0.288 [4336/16/237] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeHashing.cpp.o
0.289 [4335/16/238] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordHelpers.cpp.o
0.289 [4334/16/239] Generating LinalgNamedStructuredOps.yamlgen.td, LinalgNamedStructuredOps.yamlgen.cpp.inc
FAILED: tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.cpp.inc /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.cpp.inc 
cd /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include/mlir/Dialect/Linalg/IR && /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml -o-ods-decl=/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td -o-impl=/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.cpp.inc
/bin/sh: 1: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml: Permission denied
0.291 [4334/15/240] Building CXX object lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o
0.291 [4334/14/241] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableCollection.cpp.o
0.292 [4334/13/242] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeStreamMerger.cpp.o
0.293 [4334/12/243] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordMapping.cpp.o
0.296 [4334/11/244] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o
0.297 [4334/10/245] Building CXX object utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
0.300 [4334/9/246] Building CXX object utils/split-file/CMakeFiles/split-file.dir/split-file.cpp.o
0.301 [4334/8/247] Building CXX object tools/mlir/lib/TableGen/CMakeFiles/MLIRTableGen.dir/AttrOrTypeDef.cpp.o
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/TableGen/Dialect.h:17:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/TableGen/AttrOrTypeDef.cpp:10:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h:1850:28: warning: unused variable ‘_’ [-Wunused-variable]
     for (const auto &[SC, _] : SuperClasses)
                            ^
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h:1857:28: warning: unused variable ‘_’ [-Wunused-variable]
     for (const auto &[SC, _] : SuperClasses) {
                            ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
0.303 [4334/7/248] Building CXX object tools/mlir/lib/TableGen/CMakeFiles/MLIRTableGen.dir/Class.cpp.o
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/TableGen/Dialect.h:17:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/TableGen/CodeGenHelpers.h:17,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/TableGen/Class.h:28,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/TableGen/Class.cpp:9:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h:1850:28: warning: unused variable ‘_’ [-Wunused-variable]
     for (const auto &[SC, _] : SuperClasses)
                            ^
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/TableGen/Record.h:1857:28: warning: unused variable ‘_’ [-Wunused-variable]
     for (const auto &[SC, _] : SuperClasses) {
                            ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
0.303 [4334/6/249] Building CXX object tools/mlir/lib/TableGen/CMakeFiles/MLIRTableGen.dir/CodeGenHelpers.cpp.o

```

</details>

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


More information about the Mlir-commits mailing list