[clang] [clang][CUDA] Define _NV_RSQRT_SPECIFIER for glibc-2.42/cuda-13.2 compatibility (PR #185701)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 10 10:48:56 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 86851 tests passed
* 1305 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Headers/cuda_with_openmp.cu</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -target x86_64-unknown-linux -x cuda -fopenmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/cuda_with_openmp.cu -o - --cuda-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../../lib/Headers -fsyntax-only
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -target x86_64-unknown-linux -x cuda -fopenmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/cuda_with_openmp.cu -o - --cuda-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../../lib/Headers -fsyntax-only
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -target s390x-ibm-zos -x cuda -fopenmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/cuda_with_openmp.cu -o - --cuda-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../../lib/Headers -fsyntax-only
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -target s390x-ibm-zos -x cuda -fopenmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/cuda_with_openmp.cu -o - --cuda-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../../lib/Headers -fsyntax-only
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
# | In file included from <built-in>:1:
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/../../lib/Headers/__clang_cuda_runtime_wrapper.h:51:
# | In file included from /usr/include/features.h:394:
# | /usr/include/features-time64.h:20:10: fatal error: 'bits/wordsize.h' file not found
# | 20 | #include <bits/wordsize.h>
# | | ^~~~~~~~~~~~~~~~~
# | 1 error generated when compiling for sm_52.
# `-----------------------------
# 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/185701
More information about the cfe-commits
mailing list