[clang] [HIP] Add libhipcxx to the default header search path (PR #214279)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 13:03:35 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check 1".

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

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

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: Driver/hip-include-path.hip' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900    -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip 2>&1    | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# RUN: at line 7
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900    -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nobuiltininc -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip 2>&1    | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,NOCLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nobuiltininc -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,NOCLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# RUN: at line 11
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900    -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpuinc -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip 2>&1    | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,NOHIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpuinc -nogpulib /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,NOHIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# RUN: at line 15
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900    -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm --no-offload-inc -nogpulib --offload-inc /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip 2>&1    | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm --no-offload-inc -nogpulib --offload-inc /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# RUN: at line 19
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900    -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpulib -nostdinc++ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip 2>&1    | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpulib -nostdinc++ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/24 /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# RUN: at line 23
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -fsyntax-only --target=x86_64-unknown-linux-gnu    --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm    -nogpulib -nohipwrapperinc /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# executed command: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -fsyntax-only --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/Inputs/rocm -nogpulib -nohipwrapperinc /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/Driver/hip-include-path.hip
# .---command stderr------------
# | clang (LLVM option parsing): Unknown command line argument '-amdgpu-internalize-symbols'.  Try: 'clang (LLVM option parsing) --help'
# | clang (LLVM option parsing): Did you mean '--large-interval-size-threshold'?
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

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


More information about the cfe-commits mailing list