diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /build/platform/cuda/ya.make | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/platform/cuda/ya.make')
-rw-r--r-- | build/platform/cuda/ya.make | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/build/platform/cuda/ya.make b/build/platform/cuda/ya.make index bde0967770..3615f682cd 100644 --- a/build/platform/cuda/ya.make +++ b/build/platform/cuda/ya.make @@ -14,14 +14,14 @@ IF (USE_ARCADIA_CUDA) IF (CUDA_VERSION == "11.4") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2410761119) # CUDA Toolkit 11.4.2 for Linux x86-64 ELSEIF (CUDA_VERSION == "11.3") - DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2213063565) # CUDA Toolkit 11.3.1 for Linux x86-64 - ELSEIF (CUDA_VERSION == "11.2") + DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2213063565) # CUDA Toolkit 11.3.1 for Linux x86-64 + ELSEIF (CUDA_VERSION == "11.2") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2073566375) # CUDA Toolkit 11.2.2 for Linux x86-64 ELSEIF (CUDA_VERSION == "11.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1882836946) # CUDA Toolkit 11.1.1 for Linux x86-64 ELSEIF (CUDA_VERSION == "11.0") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1647896014) # CUDA Toolkit 11.0.2 for Linux x86-64 - ELSEIF (CUDA_VERSION == "10.1") + ELSEIF (CUDA_VERSION == "10.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2077988857) # CUDA Toolkit 10.1.168 for Linux x86-64 ELSE() ENABLE(CUDA_NOT_FOUND) @@ -40,7 +40,7 @@ IF (USE_ARCADIA_CUDA) ELSEIF (HOST_OS_LINUX AND HOST_ARCH_PPC64LE) IF (OS_LINUX AND ARCH_PPC64LE) - IF (CUDA_VERSION == "10.1") + IF (CUDA_VERSION == "10.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1586537264) # CUDA Toolkit 10.1.168 for Linux ppc64le ELSE() ENABLE(CUDA_NOT_FOUND) @@ -52,7 +52,7 @@ IF (USE_ARCADIA_CUDA) ELSEIF (HOST_OS_DARWIN AND HOST_ARCH_X86_64) IF (OS_DARWIN AND ARCH_X86_64) - IF (CUDA_VERSION == "10.1") + IF (CUDA_VERSION == "10.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:978727023) # CUDA Toolkit 10.1.168 for macOS x86-64 ENDIF() @@ -62,11 +62,11 @@ IF (USE_ARCADIA_CUDA) ELSEIF (HOST_OS_WINDOWS AND HOST_ARCH_X86_64) IF (OS_WINDOWS AND ARCH_X86_64) - IF (CUDA_VERSION == "11.3") - DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2215101513) # CUDA Toolkit 11.3.1 for Windows x86-64 - ELSEIF (CUDA_VERSION == "11.1") + IF (CUDA_VERSION == "11.3") + DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2215101513) # CUDA Toolkit 11.3.1 for Windows x86-64 + ELSEIF (CUDA_VERSION == "11.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1896564605) # CUDA Toolkit 11.1.1 for Windows x86-64 - ELSEIF (CUDA_VERSION == "10.1") + ELSEIF (CUDA_VERSION == "10.1") DECLARE_EXTERNAL_RESOURCE(CUDA sbr:978734165) # CUDA Toolkit 10.1.168 for Windows x86-64 ELSE() ENABLE(CUDA_NOT_FOUND) @@ -84,10 +84,10 @@ ENDIF() IF (USE_ARCADIA_CUDA_HOST_COMPILER) IF (HOST_OS_LINUX AND HOST_ARCH_X86_64) IF (OS_LINUX AND ARCH_X86_64) - DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:1886578148) # Clang 11.0.0 for linux-x86_64 - IF (CUDA_VERSION VERSION_LT "11.2") - # Equivalent to nvcc -allow-unsupported-compiler (present since 11.0). - CFLAGS(GLOBAL "-D__NV_NO_HOST_COMPILER_CHECK") + DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:1886578148) # Clang 11.0.0 for linux-x86_64 + IF (CUDA_VERSION VERSION_LT "11.2") + # Equivalent to nvcc -allow-unsupported-compiler (present since 11.0). + CFLAGS(GLOBAL "-D__NV_NO_HOST_COMPILER_CHECK") ENDIF() ELSEIF(OS_LINUX AND ARCH_AARCH64) DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:1886578148) # Clang 11.0.0 for linux-x86_64 @@ -97,7 +97,7 @@ IF (USE_ARCADIA_CUDA_HOST_COMPILER) ELSEIF (HOST_OS_LINUX AND HOST_ARCH_PPC64LE) IF (OS_LINUX AND ARCH_PPC64LE) - IF (CUDA_VERSION == "10.1") + IF (CUDA_VERSION == "10.1") DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:1566513994) # Clang 7.0 for Linux ppc64le (not latest) ELSE() ENABLE(CUDA_HOST_COMPILER_NOT_FOUND) @@ -110,7 +110,7 @@ IF (USE_ARCADIA_CUDA_HOST_COMPILER) ELSEIF (HOST_OS_DARWIN AND HOST_ARCH_X86_64) IF (OS_DARWIN AND ARCH_X86_64) SET(__XCODE_RESOURCE_NAME CUDA_HOST_TOOLCHAIN) - IF (CUDA_VERSION == "10.1") + IF (CUDA_VERSION == "10.1") SET(__XCODE_TOOLCHAIN_VERSION "9.2") # (not latest) ELSE() SET(__XCODE_TOOLCHAIN_VERSION "") @@ -129,7 +129,7 @@ IF (USE_ARCADIA_CUDA_HOST_COMPILER) # devtools/tools_build/pack_sdk.py msvc out.tar # Note: it will contain patched "VC/Auxiliary/Build/vcvarsall.bat" # to prevent "nvcc fatal : Host compiler targets unsupported OS." - IF (CUDA_HOST_MSVC_VERSION == "14.28.29910") + IF (CUDA_HOST_MSVC_VERSION == "14.28.29910") DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:2153212401) ELSE() MESSAGE(FATAL_ERROR "Unexpected or unspecified Microsoft Visual C++ CUDA host compiler version") |