Skip to content

Commit

Permalink
OpenJ9: Set CUDA_HOME to a generic HOME folder (#3735)
Browse files Browse the repository at this point in the history
Related ibmruntimes#94
ibmruntimes/ci-jenkins-pipeline#182

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
  • Loading branch information
AdamBrousseau and karianna authored Mar 30, 2024
1 parent 6656d9a commit 5e136f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build-farm/platform-specific-configurations/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ then

if [ "${ARCHITECTURE}" == "ppc64le" ] || [ "${ARCHITECTURE}" == "x64" ]
then
CUDA_VERSION=9.0
CUDA_HOME=/usr/local/cuda-$CUDA_VERSION
CUDA_HOME=/usr/local/cuda
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"
Expand Down

0 comments on commit 5e136f8

Please sign in to comment.