[llvm-branch-commits] [mlir] [MLIR][CMake] Remove aggregate generated-header ordering (PR #222399)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Sep 11 15:49:56 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 9025 tests passed
* 655 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### MLIR
<details>
<summary>MLIR.CMake/header-dependencies.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
"/usr/bin/cmake" -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp/valid -B /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp/valid-build -G "Ninja"    -DMLIR_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/cmake/mlir -DCMAKE_C_COMPILER=/opt/llvm/bin/clang    -DCMAKE_CXX_COMPILER=/opt/llvm/bin/clang++ 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test --check-prefix=VALID
# executed command: /usr/bin/cmake -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp/valid -B /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CMake/Output/header-dependencies.test.tmp/valid-build -G Ninja -DMLIR_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/cmake/mlir -DCMAKE_C_COMPILER=/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/llvm/bin/clang++
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test --check-prefix=VALID
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test:17:10: error: VALID: expected string not found in input
# | # VALID: -- Generated header dependency checks passed
# |          ^
# | <stdin>:1:1: note: scanning from here
# | -- The C compiler identification is Clang 22.1.4
# | ^
# | <stdin>:64:10: note: possible intended match here
# |  obj.LinkConsumer: expected dependencies
# |          ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CMake/header-dependencies.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: -- The C compiler identification is Clang 22.1.4 
# | check:17'0    {                                                   search range start (exclusive)
# | check:17'1                                                        error: no match found in search range
# |             2: -- The CXX compiler identification is Clang 22.1.4 
# |             3: -- Detecting C compiler ABI info 
# |             4: -- Detecting C compiler ABI info - done 
# |             5: -- Check for working C compiler: /opt/llvm/bin/clang - skipped 
# |             6: -- Detecting C compile features 
# |             .
# |             .
# |             .
# |            59: -- Looking for flock 
# |            60: -- Looking for flock - found 
# |            61: -- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS 
# |            62: -- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS - Success 
# |            63: CMake Error at CMakeLists.txt:78 (message): 
# |            64:  obj.LinkConsumer: expected dependencies 
# | check:17'2              ?                                 possible intended match
# |            65:  'llvm.headers.3rdPartyProvider;llvm.headers.ConditionalProvider;llvm.headers.DisabledProvider;llvm.headers.LinkOnlyProvider;llvm.headers.PlainProvider;llvm.headers.Provider', 
# |            66:  got 
# |            67:  'llvm.headers.ConditionalProvider;llvm.headers.DisabledProvider;llvm.headers.LinkOnlyProvider;llvm.headers.PlainProvider;llvm.headers.Provider' 
# |            68: Call Stack (most recent call first): 
# |            69:  CMakeLists.txt:86 (expect_header_libraries) 
# |            70:  CMakeLists.txt:98 (check_dependencies) 
# |            71:  CMakeLists.txt:DEFERRED 
# |            72:  
# |            73:  
# |            74: -- Configuring incomplete, errors occurred! 
# | check:17'3                                                 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-branch-commits mailing list