aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.com>2024-06-07 03:53:31 +0300
committerdeshevoy <deshevoy@yandex-team.com>2024-06-07 04:02:05 +0300
commit60934aa03970b15d67413cc247f0f933969fa1b5 (patch)
tree6a1dfb8500d29e0edbe66397efe1a117f0ef207f
parent0635c46df5826df8bb0dda8ad418442978c322ca (diff)
downloadydb-60934aa03970b15d67413cc247f0f933969fa1b5.tar.gz
[build] Fix NVCC_DEVICE_LINK for cross-compilation
ISSUE: cc70a50ac7586dcb7989e3b7a3680df119b6f479
-rw-r--r--build/ymake.core.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index ac28d6c7b3..f13ba3a8b7 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -4117,7 +4117,7 @@ macro CUDA_NVCC_FLAGS(Flags...) {
### This generates a stub object devlink.o that supplies missing pieces for the
### host linker to link relocatable device objects into the final executable.
macro NVCC_DEVICE_LINK(Srcs...) {
- .CMD=$NVCC_OLD $NVCC_FLAGS -o ${output;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:"devlink"} -dlink ${input;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:Srcs} -I$CUDA_TARGET_ROOT/include $NVCC_ENV ${hide;kv:"p DL"} ${hide;kv:"pc light-blue"}
+ .CMD=$NVCC_OLD $NVCC_FLAGS -o ${output;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:"devlink"} -dlink ${input;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:Srcs} -I$CUDA_TARGET_ROOT/include --compiler-options ${quo:C_FLAGS_PLATFORM} $NVCC_ENV ${hide;kv:"p DL"} ${hide;kv:"pc light-blue"}
.PEERDIR=build/platform/cuda
}