aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakhropov <akhropov@yandex-team.com>2024-02-21 15:11:30 +0300
committerakhropov <akhropov@yandex-team.com>2024-02-21 15:24:52 +0300
commit089d35204cbcfd8b26a177581db79c2827a30dcf (patch)
tree762810f7ab241b59b2573d823771c6021617852b
parent8501f43e6399db4ced00b6e9664455ca5a5dace9 (diff)
downloadydb-089d35204cbcfd8b26a177581db79c2827a30dcf.tar.gz
--allow-unsupported-compiler in CMake builds as well.
cf3c73bf342badefc42ab0534406f91757b2191e
-rw-r--r--build/export_generators/hardcoded-cmake/cmake/cuda.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/export_generators/hardcoded-cmake/cmake/cuda.cmake b/build/export_generators/hardcoded-cmake/cmake/cuda.cmake
index 2d25a6a46f..bf78b24f37 100644
--- a/build/export_generators/hardcoded-cmake/cmake/cuda.cmake
+++ b/build/export_generators/hardcoded-cmake/cmake/cuda.cmake
@@ -124,6 +124,8 @@ if (HAVE_CUDA)
" --expt-extended-lambda"
# Allow host code to invoke __device__ constexpr functions and vice versa
" --expt-relaxed-constexpr"
+ # Allow to use newer compilers than CUDA Toolkit officially supports
+ " --allow-unsupported-compiler"
)
set(NVCC_STD_VER 14)