[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 00:50:48 PST 2025
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 `clang` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/11838
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/dep-file-flag-with-multiple-offload-archs.hip' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -### -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 -MD -MF tmp.d Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip 2>&1 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' '-###' -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 -MD -MF tmp.d 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip'
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip'
# .---command stderr------------
# | [1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip:11:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m# | [1m[0m// CHECK: {{.*}}clang{{.*}}"-target-cpu" "x86-64"{{.*}}"-dependency-file" "tmp.d"
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:12:70: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang-offload-bundler" "-type=o" "-bundle-align=4096" "-targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx1030,hipv4-amdgcn-amd-amdhsa--gfx1100,hipv4-amdgcn-amd-amdhsa--gfx1101" "-input=nul" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1030-d8e397.out" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1100-a5b0c2.out" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1101-0e150f.out" "-output=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-7eb57f.hipfb"
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:13:1202: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang.exe" "-cc1" "-triple" "x86_64-sie-ps5" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "dep-file-flag-with-multiple-offload-archs.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=non-leaf" "-fdenormal-fp-math=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-fno-use-init-array" "-fvisibility=hidden" "-fvisibility-global-new-delete=source" "-fvisibility-from-dllstorageclass" "-fvisibility-dllexport=protected" "-fvisibility-nodllstorageclass=keep" "-fvisibility-externs-dllimport=default" "-fvisibility-externs-nodllstorageclass=keep" "-mllvm" "-emit-jump-table-sizes-section" "-target-cpu" "znver2" "-gno-column-info" "-debugger-tuning=sce" "-debug-forward-template-params" "-dwarf-explicit-import" "-fdebug-compilation-dir=Z:\\b\\llvm-clang-x86_64-sie-win\\build\\tools\\clang\\test\\Driver" "-ffunction-sections" "-fdata-sections" "-fcoverage-compilation-dir=Z:\\b\\llvm-clang-x86_64-sie-win\\build\\tools\\clang\\test\\Driver" "-resource-dir" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-dependency-file" "tmp.d" "-MT" "dep-file-flag-with-multiple-offload-archs.o" "-sys-header-deps" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-fdeprecated-macro" "-ferror-limit" "19" "-stack-protector" "2" "-fhip-new-launch-api" "-nogpulib" "-fno-rtti" "-fgnuc-version=4.2.1" "-fdeclspec" "-fskip-odr-check-in-gmf" "-fcuda-include-gpubinary" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-7eb57f.hipfb" "-cuid=1eb0d03108a62ff9" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-095bad.o" "-x" "hip" "Z:\\b\\llvm-clang-x86_64-sie-win\\llvm-project\\clang\\test\\Driver\\dep-file-flag-with-multiple-offload-archs.hip"
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\dep-file-flag-with-multiple-offload-archs.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46mclang version 21.0.0 (https://github.com/llvm/llvm-project.git d9cdf27834de94a7c6f5b66b28c0e6667fec5418) [0m
# | [0;1;30m 2: [0m[1m[0;1;46mTarget: x86_64-sie-ps5 [0m
# | [0;1;30m 3: [0m[1m[0;1;46mThread model: posix [0m
# | [0;1;30m 4: [0m[1m[0;1;46mInstalledDir: Z:\b\llvm-clang-x86_64-sie-win\build\bin [0m
# | [0;1;30m 5: [0m[1m[0;1;46m[0mBuild config:[0;1;46m +assertions [0m
# | [0;1;32mcheck:3 ^~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnot:4 X~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 6: [0m[1m[0;1;46m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-sie-ps5" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "dep-file-flag-with-multiple-offload-archs.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "znver2" "-fno-use-init-array" "-fvisibility=hidden" "-fvisibility-global-new-delete=source" "-fvisibility-from-dllstorageclass" "-fvisibility-dllexport=protected" "-fvisibility-nodllstorageclass=keep" "-fvisibility-externs-dllimport=default" "-fvisibility-externs-nodllstorageclass=keep" "-mllvm" "-emit-jump-table-sizes-section" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx1030" "-debugger-tuning=gdb" "-fdebug-compilation-dir=Z:\\b\\llvm-clang-x86_64-sie-win\\build\\tools\\clang\\test\\Driver" "-resource-dir" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-MT" "dep-file-flag-with-multiple-offload-archs.o" "-sys-header-deps" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=1eb0d03108a62ff9" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1030-76194e.o" "-x" "hip" "Z:\\b\\llvm-clang-x86_64-sie-win\\llvm-project\\clang\\test\\Driver\\dep-file-flag-with-multiple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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 7: [0m[1m[0;1;46m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx1030"[0;1;46m "--whole-archive" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1030-d8e397.out" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1030-76194e.o" "--no-whole-archive" [0m
# | [0;1;32mcheck:5 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnot:6 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 8: [0m[1m[0;1;46m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-sie-ps5" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "dep-file-flag-with-multiple-offload-archs.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "znver2" "-fno-use-init-array" "-fvisibility=hidden" "-fvisibility-global-new-delete=source" "-fvisibility-from-dllstorageclass" "-fvisibility-dllexport=protected" "-fvisibility-nodllstorageclass=keep" "-fvisibility-externs-dllimport=default" "-fvisibility-externs-nodllstorageclass=keep" "-mllvm" "-emit-jump-table-sizes-section" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx1100" "-debugger-tuning=gdb" "-fdebug-compilation-dir=Z:\\b\\llvm-clang-x86_64-sie-win\\build\\tools\\clang\\test\\Driver" "-resource-dir" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-MT" "dep-file-flag-with-multiple-offload-archs.o" "-sys-header-deps" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=1eb0d03108a62ff9" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1100-88dbea.o" "-x" "hip" "Z:\\b\\llvm-clang-x86_64-sie-win\\llvm-project\\clang\\test\\Driver\\dep-file-flag-with-multiple-offload-archs.hip" [0m
# | [0;1;32mnot:6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 9: [0m[1m[0;1;46m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx1100"[0;1;46m "--whole-archive" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1100-a5b0c2.out" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1100-88dbea.o" "--no-whole-archive" [0m
# | [0;1;32mcheck:7 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnot:8 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 10: [0m[1m[0;1;46m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang.exe" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-sie-ps5" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "dep-file-flag-with-multiple-offload-archs.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "znver2" "-fno-use-init-array" "-fvisibility=hidden" "-fvisibility-global-new-delete=source" "-fvisibility-from-dllstorageclass" "-fvisibility-dllexport=protected" "-fvisibility-nodllstorageclass=keep" "-fvisibility-externs-dllimport=default" "-fvisibility-externs-nodllstorageclass=keep" "-mllvm" "-emit-jump-table-sizes-section" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx1101" "-debugger-tuning=gdb" "-fdebug-compilation-dir=Z:\\b\\llvm-clang-x86_64-sie-win\\build\\tools\\clang\\test\\Driver" "-resource-dir" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-MT" "dep-file-flag-with-multiple-offload-archs.o" "-sys-header-deps" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-internal-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\lib\\clang\\21\\include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include" "-internal-externc-isystem" "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin/../..//target/include_common" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=1eb0d03108a62ff9" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1101-8b4aa7.o" "-x" "hip" "Z:\\b\\llvm-clang-x86_64-sie-win\\llvm-project\\clang\\test\\Driver\\dep-file-flag-with-multiple-offload-archs.hip" [0m
# | [0;1;32mnot:8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 11: [0m[1m[0;1;46m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx1101"[0;1;46m "--whole-archive" "-o" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1101-0e150f.out" "C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1101-8b4aa7.o" "--no-whole-archive" [0m
# | [0;1;32mcheck:9 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 12: [0m[1m[0;1;46m[0m "Z:\\b\\llvm-clang-x86_64-sie-win\\build\\bin\\clang-offload-bundler[0;1;46m" "-type=o" "-bundle-align=4096" "-targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx1030,hipv4-amdgcn-amd-amdhsa--gfx1100,hipv4-amdgcn-amd-amdhsa--gfx1101" "-input=nul" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1030-d8e397.out" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1100-a5b0c2.out" "-input=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-gfx1101-0e150f.out" "-output=C:\\Users\\buildbot\\AppData\\Local\\Temp\\lit-tmp-e9k3wboq\\dep-file-flag-with-multiple-offload-archs-7eb57f.hipfb" [0m
# | [0;1;32mcheck:10 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/125646
More information about the cfe-commits
mailing list