mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
ci: Update Clang HIP/CUDA wrappers for C++ 26 with libstdc++ 16 on Fedora 44
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
--- a/usr/lib/clang/22/include/cuda_wrappers/new
|
||||
+++ b/usr/lib/clang/22/include/cuda_wrappers/new
|
||||
@@ -98,9 +98,9 @@
|
||||
__device__ inline void *operator new[](__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT {
|
||||
return __ptr;
|
||||
}
|
||||
-#endif
|
||||
__device__ inline void operator delete(void *, void *) CUDA_NOEXCEPT {}
|
||||
__device__ inline void operator delete[](void *, void *) CUDA_NOEXCEPT {}
|
||||
+#endif
|
||||
|
||||
#pragma pop_macro("CUDA_NOEXCEPT")
|
||||
|
||||
---
|
||||
@@ -1,2 +1,4 @@
|
||||
export HIPCXX=/usr/bin/clang++
|
||||
export HIPFLAGS='--rocm-path=/usr --rocm-device-lib-path=/usr/lib64/rocm/llvm/lib/clang/20/lib/amdgcn/bitcode'
|
||||
|
||||
git apply --unsafe-paths --directory=/ .gitlab/ci/env_fedora44_hip_radeon.patch
|
||||
|
||||
Reference in New Issue
Block a user