message: Added hip-clang support to Jenkins
diff: @@ -31,10 +31,10 @@ rocThrustCI:
  def rocthrust = new rocProject('rocthrust')
  // customize for project
  - rocthrust.paths.build_command = './install -c'
  + rocthrust.paths.build_command = './install'
  // Define test architectures, optional rocm version argument is available
  - def nodes = new dockerNodes(['gfx900 && centos7', 'gfx906'], rocthrust)
  + def nodes = new dockerNodes(['gfx900 && ubuntu', 'gfx906 && ubuntu', 'gfx900 && hip-clang', 'gfx906 && hip-clang', 'gfx906 && centos7'], rocthrust)
  boolean formatCheck = false
  @@ -43,12 +43,26 @@ rocThrustCI:
  platform, project->
  project.paths.construct_build_prefix()
  - def command = """#!/usr/bin/env bash
  +
  + def command
  +
  + if(platform.jenkinsLabel.contains('hip-clang'))
  + {
  + command = """#!/usr/bin/env bash
  set -x
  cd ${project.paths.project_build_prefix}
  - LD_LIBRARY_PATH=/opt/rocm/hcc/lib CXX=${project.compiler.compiler_path} ${project.paths.build_command}
  + LD_LIBRARY_PATH=/opt/rocm/hcc/lib CXX=/opt/rocm/bin/hipcc ${project.paths.build_command} --hip-clang
  + """
  + }
  + else
  + {
  + command = """#!/usr/bin/env bash
  + set -x
  + cd ${project.paths.project_build_prefix}
  + LD_LIBRARY_PATH=/opt/rocm/hcc/lib CXX=/opt/rocm/bin/hcc ${project.paths.build_command} -c
  """
  + }
  platform.runCommand(this, command)
  }
  @@ -100,6 +114,10 @@ rocThrustCI:
  platform.runCommand(this, command)
  platform.archiveArtifacts(this, """${project.paths.project_build_prefix}/build/release/package/*.rpm""")
  }
  + else if(platform.jenkinsLabel.contains('hip-clang'))
  + {
  + platform.runCommand(this, null)
  + }
  else
  {
  command = """
  