aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-03-22 00:38:56 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-03-22 00:51:33 +0300
commit971d2b4230cc077219db412d4fb244aa8b3dc4c3 (patch)
treea2dc47b34d00a0d714c021035cdf67098312ccf0 /contrib
parent44ea9939d4ab7a714648ed97a9ed972629e374a7 (diff)
downloadydb-971d2b4230cc077219db412d4fb244aa8b3dc4c3.tar.gz
Use clang14 to compile cuda
9037923ac340a796a5d6fafac696850a37ca5642
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__config3
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__config_epilogue.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__config b/contrib/libs/cxxsupp/libcxx/include/__config
index 6eca2a8614..ee3b3413f6 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__config
+++ b/contrib/libs/cxxsupp/libcxx/include/__config
@@ -1553,4 +1553,7 @@ __sanitizer_verify_double_ended_contiguous_container(const void*, const void*, c
#endif // __cplusplus
+#include <__config_epilogue.h>
+
#endif // _LIBCPP___CONFIG
+
diff --git a/contrib/libs/cxxsupp/libcxx/include/__config_epilogue.h b/contrib/libs/cxxsupp/libcxx/include/__config_epilogue.h
new file mode 100644
index 0000000000..cc5cf17193
--- /dev/null
+++ b/contrib/libs/cxxsupp/libcxx/include/__config_epilogue.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#if defined(__CUDACC__)
+ #undef _LIBCPP_USING_IF_EXISTS
+ #define _LIBCPP_USING_IF_EXISTS
+#endif