[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:57 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53146 tests passed
* 1016 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -target x86_64-unknown-linux -x cuda -fopenmp -c C:\_work\llvm-project\llvm-project\clang\test\Headers\cuda_with_openmp.cu -o - --cuda-path=C:\_work\llvm-project\llvm-project\clang\test\Headers/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include -isystem C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers -fsyntax-only
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -target x86_64-unknown-linux -x cuda -fopenmp -c 'C:\_work\llvm-project\llvm-project\clang\test\Headers\cuda_with_openmp.cu' -o - '--cuda-path=C:\_work\llvm-project\llvm-project\clang\test\Headers/../Driver/Inputs/CUDA/usr/local/cuda' -nocudalib -isystem 'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include' -isystem 'C:\_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:
# | C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers\__clang_cuda_runtime_wrapper.h:51:11: fatal error: 'features.h' file not found
# | 51 | # include <features.h> /* For GLIBC macros */
# | | ^~~~~~~~~~~~
# | 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