Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixups following review
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <sxa@redhat.com>
sxa committed May 31, 2023
1 parent 9f29132 commit cca5bb4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build-farm/platform-specific-configurations/linux.sh
Original file line number Diff line number Diff line change
@@ -62,15 +62,17 @@ if [ "${VARIANT}" == "${BUILD_VARIANT_OPENJ9}" ]
then
if [ "${ARCHITECTURE}" == "ppc64le" ] || [ "${ARCHITECTURE}" == "x64" ]
then
CUDA_VERSION=9.0
if [ "${ARCHITECTURE}" == "aarch64" ]; then
echo PROBABLE JETSON NANO DEVELOPMENT ENVIRONMENT - Enabling CUDA ...
CUDA_VERSION=10.2
else
CUDA_VERSION=9.0
fi
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
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

0 comments on commit cca5bb4

Please sign in to comment.