Skip to content

Commit

Permalink
Changing install script to default to hipcc compiler (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadrahim authored May 26, 2020
1 parent 32eb208 commit b465435
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,11 @@ fi
# BUILD_BENCHMARK - off by default.
#
# ! IMPORTANT !
# On ROCm platform set C++ compiler to HCC. You can do it by adding 'CXX=<path-to-hcc>'
# before 'cmake' or setting cmake option 'CMAKE_CXX_COMPILER' to path to the HCC compiler.
# On ROCm platform set C++ compiler to HIPCC. You can do it by adding 'CXX=<path-to-hcc>'
# before 'cmake' or setting cmake option 'CMAKE_CXX_COMPILER' to path to the HIPCC compiler.
#

compiler="hcc"
if ($build_hip_clang); then
compiler="hipcc"
fi
compiler="hipcc"

if [ -e /etc/redhat-release ] ; then
cmake_executable="cmake3"
Expand Down

0 comments on commit b465435

Please sign in to comment.