Changing install script to default to hipcc
MODIFY
.jenkins/common.groovy
.jenkins/common.groovy
@@ -7,9 +7,11 @@ def runCompileCommand(platform, project, jobName)
String compiler = jobName.contains('hipclang') ? 'hipcc' : 'hcc'
String hipClangArgs = jobName.contains('hipclang') ? '--hip-clang' : ''
+ def getRocPRIM = auxiliary.getLibrary('rocPRIM', platform.jenkinsLabel)
command = """#!/usr/bin/env bash
set -x
+ ${getRocPRIM}
cd ${project.paths.project_build_prefix}
LD_LIBRARY_PATH=/opt/rocm/hcc/lib ${project.paths.build_command} ${hipClangArgs}
"""

MODIFY
docker/dockerfile-build-ubuntu-rock
docker/dockerfile-build-ubuntu-rock
@@ -33,4 +33,4 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
# Grant any member of sudo group password-less sudo privileges
RUN useradd --create-home -u ${user_uid} -o -G sudo --shell /bin/bash jenkins && \
mkdir -p /etc/sudoers.d/ && \
- echo '%sudo ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
+ echo '%video ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd

MODIFY
install
install
@@ -121,15 +121,12 @@ 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.
#
# Set compiler
-compiler="hcc"
-if [[ "${build_hip_clang}" == true ]]; then
compiler="hipcc"
-fi
if [ -e /etc/redhat-release ] ; then
cmake_executable="cmake3"

Changing install script to default to hipcc (#110)