[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 12:59:49 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `intel-sycl-gpu` running on `intel-sycl-gpu-01` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/225/builds/14729
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/hip-include-path.hip' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip 2>&1 | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# RUN: at line 7
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nobuiltininc -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip 2>&1 | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,NOCLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nobuiltininc -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,NOCLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# RUN: at line 11
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpuinc -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip 2>&1 | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,NOHIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpuinc -nogpulib /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,NOHIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# RUN: at line 15
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm --no-offload-inc -nogpulib --offload-inc /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip 2>&1 | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm --no-offload-inc -nogpulib --offload-inc /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# RUN: at line 19
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib -nostdinc++ /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip 2>&1 | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -c '-###' --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib -nostdinc++ /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck -check-prefixes=COMMON,CLANG,HIP -DRESOURCE_DIR=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/lib/clang/24 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# RUN: at line 23
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -fsyntax-only --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib -nohipwrapperinc /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/hip-include-path.hip
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/clang -fsyntax-only --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 -std=c++11 --rocm-path=/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/test/Driver/Inputs/rocm -nogpulib -nohipwrapperinc /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/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