Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
saadrahim committed Jun 4, 2020
2 parents 76df096 + 8e6861f commit 4490eba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4490eba

Please sign in to comment.