File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed 
build-farm/platform-specific-configurations Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,17 @@ if [ "${VARIANT}" == "${BUILD_VARIANT_OPENJ9}" ]
6262then 
6363  if  [ " ${ARCHITECTURE} "   ==  " ppc64le"   ] ||  [ " ${ARCHITECTURE} "   ==  " x64"   ]
6464  then 
65-     CUDA_VERSION=9.0
65+     if  [ " ${ARCHITECTURE} "   ==  " aarch64"   ];  then 
66+       echo  PROBABLE JETSON NANO DEVELOPMENT ENVIRONMENT - Enabling CUDA ...
67+       CUDA_VERSION=10.2
68+     else 
69+       CUDA_VERSION=9.0
70+     fi 
6671    CUDA_HOME=/usr/local/cuda-$CUDA_VERSION 
6772    if  [ -f  $CUDA_HOME /include/cuda.h ]
6873    then 
6974      export  CONFIGURE_ARGS_FOR_ANY_PLATFORM=" ${CONFIGURE_ARGS_FOR_ANY_PLATFORM}  --enable-cuda --with-cuda=$CUDA_HOME " 
7075    fi 
71-   elif  [ " ${ARCHITECTURE} "   ==  " aarch64"   ] &&  [ -f  /usr/local/cuda-10.2/include/cuda.h ];  then 
72-     echo  PROBABLE JETSON NANO DEVELOPMENT ENVIRONMENT - Enabling CUDA ...
73-     export  CONFIGURE_ARGS_FOR_ANY_PLATFORM=" ${CONFIGURE_ARGS_FOR_ANY_PLATFORM}  --enable-cuda --with-cuda=/usr/local/cuda-10.2" 
7476  fi 
7577fi 
7678
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments