Skip to content

Commit

Permalink
Enable OpenJ9 CUDA support if the SDK is installed on aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Feb 23, 2022
1 parent 7bc9c9a commit 9f29132
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-farm/platform-specific-configurations/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9f29132

Please sign in to comment.