From 8e6861f790106d50da0babe679545e0f7690ad6c Mon Sep 17 00:00:00 2001 From: Saad Rahim Date: Fri, 22 May 2020 13:24:42 -0700 Subject: [PATCH] Defaulting install script to hipcc --- install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install b/install index 81d625a9c..25e3168b5 100755 --- a/install +++ b/install @@ -125,10 +125,7 @@ fi # before 'cmake' or setting cmake option 'CMAKE_CXX_COMPILER' to path to the HCC compiler. # -compiler="hcc" -if [[ "${build_hip_clang}" == true ]]; then - compiler="hipcc" -fi +compiler="hipcc" cmake_executable="cmake" if [ -e /etc/redhat-release ] ; then @@ -148,7 +145,7 @@ fi if [[ "${build_relocatable}" == true ]]; then CXX=${rocm_path}/bin/${compiler} ${cmake_executable} -DCMAKE_INSTALL_PREFIX=${rocm_path} -DBUILD_BENCHMARK=${benchmark} \ - -DCMAKE_PREFIX_PATH="${rocm_path} ${rocm_path}/hcc ${rocm_path}/hip" \ + -DCMAKE_PREFIX_PATH="${rocm_path} ${rocm_path}/hip" \ -DBUILD_BENCHMARK=${benchmark} -DBUILD_TEST=${clients} \ -DCMAKE_MODULE_PATH="${rocm_path}/hip/cmake" ../../. # or cmake-gui ../. else