diff options
author | pg <pg@yandex-team.com> | 2024-08-06 22:59:44 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2024-08-06 23:11:09 +0300 |
commit | 045f1ade465bf5af64ef1ceeeb94e23294c33437 (patch) | |
tree | f6257186d6c6673c5b54131eb016309e2b47f93b /build/ymake.core.conf | |
parent | b42c0ae657e48443d35b4efe6d66127febe004d8 (diff) | |
download | ydb-045f1ade465bf5af64ef1ceeeb94e23294c33437.tar.gz |
b6ee53f9af602a963f352ed37c717dead1f8cef3
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 535da24a33..9336ae8093 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -1098,9 +1098,12 @@ module _LINK_UNIT: _BASE_UNIT { when ($USE_DYNAMIC_CUDA != "yes") { when ($CUDA_ARCHITECTURES) { + LINK_DYN_LIB_FLAGS+=--cuda-architectures $CUDA_ARCHITECTURES LINK_SCRIPT_EXE_FLAGS+=--cuda-architectures $CUDA_ARCHITECTURES + LINK_DYN_LIB_FLAGS+=--nvprune-exe $CUDA_ROOT/bin/nvprune LINK_SCRIPT_EXE_FLAGS+=--nvprune-exe $CUDA_ROOT/bin/nvprune } + LINK_DYN_LIB_FLAGS+=--objcopy-exe $OBJCOPY_TOOL LINK_SCRIPT_EXE_FLAGS+=--objcopy-exe $OBJCOPY_TOOL } |