From 9f291325008be29f3c82c3c484019b8f2cc08ecd Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Wed, 23 Feb 2022 18:54:43 +0000 Subject: [PATCH] Enable OpenJ9 CUDA support if the SDK is installed on aarch64 Signed-off-by: Stewart X Addison --- build-farm/platform-specific-configurations/linux.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-farm/platform-specific-configurations/linux.sh b/build-farm/platform-specific-configurations/linux.sh index 9b6f7028d..d0456a60c 100755 --- a/build-farm/platform-specific-configurations/linux.sh +++ b/build-farm/platform-specific-configurations/linux.sh @@ -68,6 +68,9 @@ then then export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-cuda --with-cuda=$CUDA_HOME" fi + elif [ "${ARCHITECTURE}" == "aarch64" ] && [ -f /usr/local/cuda-10.2/include/cuda.h ]; then + echo PROBABLE JETSON NANO DEVELOPMENT ENVIRONMENT - Enabling CUDA ... + export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-cuda --with-cuda=/usr/local/cuda-10.2" fi fi