Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable OpenJ9 CUDA support if the SDK is installed on aarch64 #2855

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions build-farm/platform-specific-configurations/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,15 @@ if [ "${VARIANT}" == "${BUILD_VARIANT_OPENJ9}" ]
then
# OpenJ9 fetches the latest OpenSSL in their get_source.sh
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-openssl=fetched"

if [ "${ARCHITECTURE}" == "ppc64le" ] || [ "${ARCHITECTURE}" == "x64" ]
if [ "${ARCHITECTURE}" == "aarch64" ]; then
# Potentially a JetSon Nano dev environment so look here
CUDA_HOME=/usr/local/cuda-10.2
else
CUDA_HOME=/usr/local/cuda-9.0
fi
if [ -f $CUDA_HOME/include/cuda.h ]
then
CUDA_VERSION=9.0
CUDA_HOME=/usr/local/cuda-$CUDA_VERSION
if [ -f $CUDA_HOME/include/cuda.h ]
then
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-cuda --with-cuda=$CUDA_HOME"
fi
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-cuda --with-cuda=$CUDA_HOME"
fi
fi

Expand Down
Loading