[clang] [Hexagon] Add cmake caches for cross-toolchain distribution build (PR #201207)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 07:14:59 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 54102 tests passed
* 1289 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Driver/hip-toolchain-no-rdc.hip</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Driver\Output\hip-toolchain-no-rdc.hip.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc --no-offload-new-driver C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,LINK,OLD C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc --no-offload-new-driver 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,LINK,OLD 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc -c --no-offload-new-driver C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,OLD C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc -c --no-offload-new-driver 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,OLD 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# note: command had no output on stdout or stderr
# RUN: at line 22
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld -nogpuinc --offload-new-driver -c C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CHECK,NEW C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' '-###' --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib1' '--hip-device-lib-path=C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/lib2' -fuse-ld=lld '-BC:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/lld' -nogpuinc --offload-new-driver -c 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/a.cu' 'C:\_work\llvm-project\llvm-project\clang\test\Driver/Inputs/hip_multiple_inputs/b.hip'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CHECK,NEW 'C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip:119:14: error: NEW-SAME: is not on the same line as the previous match
# | // NEW-SAME: "--no-lto"
# | ^
# | <stdin>:15:185: note: 'next' match was here
# | "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-linker-wrapper" "--should-extract=gfx803" "--should-extract=gfx900" "--device-compiler=amdgcn-amd-amdhsa=-flto-partitions=8" "--no-lto" "--host-triple=x86_64-unknown-linux-gnu" "--linker-path=C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-offload-bundler" "--emit-fatbin-only" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-ffd14b.hipfb" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-87fc9f.out"
# | ^
# | <stdin>:10:346: note: previous match ended here
# | "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-linker-wrapper" "--should-extract=gfx803" "--should-extract=gfx900" "--device-compiler=amdgcn-amd-amdhsa=-flto-partitions=8" "--no-lto" "--host-triple=x86_64-unknown-linux-gnu" "--linker-path=C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-offload-bundler" "--emit-fatbin-only" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\a-2e3fc8.hipfb" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\a-637671.out"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Driver\hip-toolchain-no-rdc.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 10: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-linker-wrapper" "--should-extract=gfx803" "--should-extract=gfx900" "--device-compiler=amdgcn-amd-amdhsa=-flto-partitions=8" "--no-lto" "--host-triple=x86_64-unknown-linux-gnu" "--linker-path=C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-offload-bundler" "--emit-fatbin-only" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\a-2e3fc8.hipfb" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\a-637671.out"
# | 11: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "--offload-new-driver" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fcuda-include-gpubinary" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\a-2e3fc8.hipfb" "-cuid=8580051121f03c55" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "a.o" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/a.cu"
# | 12: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/lib1\\lib1.bc" "-mlink-builtin-bitcode" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/lib2\\lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "--offload-new-driver" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=20c0927a8c968c94" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-gfx803-6eea33.bc" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/b.hip"
# | 13: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/lib1\\lib1.bc" "-mlink-builtin-bitcode" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/lib2\\lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "--offload-new-driver" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=20c0927a8c968c94" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-gfx900-ff040e.bc" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/b.hip"
# | 14: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\llvm-offload-binary" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-87fc9f.out" "--image=file=C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-gfx803-6eea33.bc,triple=amdgcn-amd-amdhsa,arch=gfx803,kind=hip" "--image=file=C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-gfx900-ff040e.bc,triple=amdgcn-amd-amdhsa,arch=gfx900,kind=hip"
# | 15: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-linker-wrapper" "--should-extract=gfx803" "--should-extract=gfx900" "--device-compiler=amdgcn-amd-amdhsa=-flto-partitions=8" "--no-lto" "--host-triple=x86_64-unknown-linux-gnu" "--linker-path=C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang-offload-bundler" "--emit-fatbin-only" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-ffd14b.hipfb" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-87fc9f.out"
# | same:119 !~~~~~~~~~ error: match on wrong line
# | 16: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "--offload-new-driver" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fcuda-include-gpubinary" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-hnit20q3\\b-ffd14b.hipfb" "-cuid=20c0927a8c968c94" "-fcuda-allow-variadic-functions" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "b.o" "-x" "hip" "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver/Inputs/hip_multiple_inputs/b.hip"
# | >>>>>>
# `-----------------------------
# 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/201207
More information about the cfe-commits
mailing list