[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:43:45 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `llvm,mlir` at step 6 "build-unified-tree".

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

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

```
Step 6 (build-unified-tree) failure: build (failure)
...
[4577/4741] Building RC object tools\llvm-rtdyld\CMakeFiles\llvm-rtdyld.dir\__\__\resources\windows_version_resource.rc.res
[4578/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-color-helper.cpp.obj
[4579/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\func-id-helper.cpp.obj
[4580/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\llvm-xray.cpp.obj
[4581/4741] Linking CXX executable bin\llvm-libtool-darwin.exe
[4582/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-converter.cpp.obj
[4583/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-account.cpp.obj
[4584/4741] Building CXX object tools\llvm-sim\CMakeFiles\llvm-sim.dir\llvm-sim.cpp.obj
[4585/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-extract.cpp.obj
[4586/4741] Generating export list for LLVM-C
FAILED: libllvm-c.exports 
cmd.exe /C "cd /D Z:\b\llvm-clang-x86_64-sie-win\build\tools\llvm-shlib && "C:\Program Files\Python310\python.exe" Z:/b/llvm-clang-x86_64-sie-win/llvm-project/llvm/tools/llvm-shlib/gen-msvc-exports.py --libsfile Z:/b/llvm-clang-x86_64-sie-win/build/./libllvm-c.args --nm "" -o Z:/b/llvm-clang-x86_64-sie-win/build/./libllvm-c.exports"
Traceback (most recent call last):
  File "Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\tools\llvm-shlib\gen-msvc-exports.py", line 124, in <module>
    main()
  File "Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\tools\llvm-shlib\gen-msvc-exports.py", line 120, in main
    gen_llvm_c_export(ns.output, ns.underscore, libs, ns.nm)
  File "Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\tools\llvm-shlib\gen-msvc-exports.py", line 72, in gen_llvm_c_export
    check_call([nm, "-g", lib], stdout=dumpout_f)
  File "C:\Program Files\Python310\lib\subprocess.py", line 364, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Program Files\Python310\lib\subprocess.py", line 345, in call

    with Popen(*popenargs, **kwargs) as p:

  File "C:\Program Files\Python310\lib\subprocess.py", line 969, in __init__

    self._execute_child(args, executable, preexec_fn, close_fds,

  File "C:\Program Files\Python310\lib\subprocess.py", line 1438, in _execute_child

    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

OSError: [WinError 87] The parameter is incorrect

[4587/4741] Building RC object tools\llvm-special-case-list-fuzzer\CMakeFiles\llvm-special-case-list-fuzzer.dir\__\__\resources\windows_version_resource.rc.res
[4588/4741] Building RC object tools\llvm-strings\CMakeFiles\llvm-strings.dir\__\__\resources\windows_version_resource.rc.res
[4589/4741] Building CXX object tools\llvm-yaml-numeric-parser-fuzzer\CMakeFiles\llvm-yaml-numeric-parser-fuzzer.dir\DummyYAMLNumericParserFuzzer.cpp.obj
[4590/4741] Building RC object tools\llvm-stress\CMakeFiles\llvm-stress.dir\__\__\resources\windows_version_resource.rc.res
[4591/4741] Building RC object tools\llvm-size\CMakeFiles\llvm-size.dir\__\__\resources\windows_version_resource.rc.res
[4592/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-registry.cpp.obj
[4593/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-graph.cpp.obj
[4594/4741] Linking CXX executable bin\llvm-ml.exe
[4595/4741] Building RC object tools\llvm-tli-checker\CMakeFiles\llvm-tli-checker.dir\__\__\resources\windows_version_resource.rc.res
[4596/4741] Linking CXX executable bin\llvm-jitlink.exe
[4597/4741] Building CXX object tools\llvm-yaml-parser-fuzzer\CMakeFiles\llvm-yaml-parser-fuzzer.dir\DummyYAMLParserFuzzer.cpp.obj
[4598/4741] Building RC object tools\llvm-symbolizer\CMakeFiles\llvm-symbolizer.dir\__\__\resources\windows_version_resource.rc.res
[4599/4741] Building RC object tools\llvm-split\CMakeFiles\llvm-split.dir\__\__\resources\windows_version_resource.rc.res
[4600/4741] Building CXX object tools\llvm-xray\CMakeFiles\llvm-xray.dir\xray-stacks.cpp.obj

```

</details>

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


More information about the Mlir-commits mailing list