[llvm-branch-commits] [llvm] [mlir] [MLIR][CMake] Add HEADER_LIBS and document CMake infrastructure (PR #222397)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 15 20:51:30 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 144253 tests passed
* 3559 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CMake/generated-header-dependencies.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp
# executed command: split-file 'C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test' 'C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 3
"C:/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -S C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp -B C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp/build -G "Ninja" -DLLVM_SOURCE_DIR="C:\_work\llvm-project\llvm-project\llvm" 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test
# executed command: C:/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe -S 'C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp' -B 'C:\_work\llvm-project\llvm-project\build\test\CMake\Output\generated-header-dependencies.test.tmp/build' -G Ninja '-DLLVM_SOURCE_DIR=C:\_work\llvm-project\llvm-project\llvm'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test:15:10: error: CHECK: expected string not found in input
# | # CHECK: -- Generated header dependency checks passed
# | ^
# | <stdin>:1:1: note: scanning from here
# | -- The C compiler identification is Clang 24.0.0 with GNU-like command-line
# | ^
# | <stdin>:14:71: note: possible intended match here
# | CMake Error at C:/_work/llvm-project/llvm-project/build/test/CMake/Output/generated-header-dependencies.test.tmp/build/CMakeFiles/CMakeScratch/TryCompile-h86tnp/CMakeLists.txt:2 (set):
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CMake\generated-header-dependencies.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: -- The C compiler identification is Clang 24.0.0 with GNU-like command-line
# | check:15'0 { search range start (exclusive)
# | check:15'1 error: no match found in search range
# | 2: -- The CXX compiler identification is Clang 24.0.0 with GNU-like command-line
# | 3: -- Detecting C compiler ABI info
# | 4: -- Detecting C compiler ABI info - done
# | 5: -- Check for working C compiler: C:/_work/llvm-project/llvm-project/build/bin/clang.exe - skipped
# | 6: -- Detecting C compile features
# | 7: -- Detecting C compile features - done
# | 8: -- Detecting CXX compiler ABI info
# | 9: -- Detecting CXX compiler ABI info - done
# | 10: -- Check for working CXX compiler: C:/_work/llvm-project/llvm-project/build/bin/clang++.exe - skipped
# | 11: -- Detecting CXX compile features
# | 12: -- Detecting CXX compile features - done
# | 13: -- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS
# | 14: CMake Error at C:/_work/llvm-project/llvm-project/build/test/CMake/Output/generated-header-dependencies.test.tmp/build/CMakeFiles/CMakeScratch/TryCompile-h86tnp/CMakeLists.txt:2 (set):
# | check:15'2 ? possible intended match
# | 15: Syntax error in cmake code at
# | 16:
# | 17: C:/_work/llvm-project/llvm-project/build/test/CMake/Output/generated-header-dependencies.test.tmp/build/CMakeFiles/CMakeScratch/TryCompile-h86tnp/CMakeLists.txt:2
# | 18:
# | 19: when parsing string
# | .
# | .
# | .
# | 31: C:/_work/llvm-project/llvm-project/llvm/cmake/modules/AddLLVM.cmake:435 (check_linker_flag)
# | 32: C:/_work/llvm-project/llvm-project/llvm/cmake/modules/AddLLVM.cmake:958 (add_link_opts)
# | 33: CMakeLists.txt:43 (llvm_add_library)
# | 34:
# | 35:
# | 36: -- Configuring incomplete, errors occurred!
# | check:15'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/222397
More information about the llvm-branch-commits
mailing list