Fixing env HCC_HOME and HIP_PATH

Tento commit je obsažen v:
eshcherb authored and GitHub committed 2019-09-02 22:45:58 -05:00
1 rodič 231e25747f
revize 2007136c1c
1 file changed
+2 -2
+2 -2
Zobrazit soubor
@@ -68,10 +68,10 @@ endif()
set ( HCC_HOME "/opt/rocm/hcc" )
set ( HIP_PATH "/opt/rocm/hip" )
if ( DEFINED ENV{HCC_HOME} )
set ( HCC_HOME ENV{HCC_HOME} )
set ( HCC_HOME $ENV{HCC_HOME} )
endif()
if ( DEFINED ENV{HIP_PATH} )
set ( HIP_PATH ENV{HIP_PATH} )
set ( HIP_PATH $ENV{HIP_PATH} )
endif()
set ( HCC_INC_DIR "${HCC_HOME}/include" )
set ( HIP_INC_DIR "${HIP_PATH}/include" )