@@ -7,7 +7,6 @@ def runCompileCommand(platform, project, jobName)
77
88 String compiler = jobName. contains(' hipclang' ) ? ' hipcc' : ' hcc'
99 String hipClang = jobName. contains(' hipclang' ) ? ' --hip-clang' : ' --no-hip-clang'
10- String sles = platform. jenkinsLabel. contains(' sles' ) ? ' /usr/bin/sudo --preserve-env' : ' '
1110 String centos7 = platform. jenkinsLabel. contains(' centos7' ) ? ' source scl_source enable devtoolset-7' : ' :'
1211 String hipccCompileFlags = " "
1312 if (jobName. contains(' hipclang' ))
@@ -32,14 +31,13 @@ def runCompileCommand(platform, project, jobName)
3231 ${ centos7}
3332 echo Original HIPCC_COMPILE_FLAGS_APPEND: \$ HIPCC_COMPILE_FLAGS_APPEND
3433 ${ hipccCompileFlags}
35- ${ sles } CXX=/opt/rocm/bin/${ compiler} ${ project.paths.build_command} ${ hipClang}
34+ CXX=/opt/rocm/bin/${ compiler} ${ project.paths.build_command} ${ hipClang}
3635 """
3736 platform. runCommand(this , command)
3837}
3938
4039def runTestCommand (platform , project , gfilter )
4140{
42- String sudo = auxiliary. sudo(platform. jenkinsLabel)
4341 String installPackage = " "
4442 if (platform. jenkinsLabel. contains(' centos' ) || platform. jenkinsLabel. contains(' sles' ))
4543 {
@@ -54,7 +52,7 @@ def runTestCommand (platform, project, gfilter)
5452 ${ installPackage}
5553 popd
5654 cd ${ project.paths.project_build_prefix} /build/release/clients/staging
57- ${ sudo } GTEST_LISTENER=NO_PASS_LINE_IN_LOG ./rocblas-test --gtest_output=xml --gtest_color=yes --gtest_filter=${ gfilter} -*known_bug*
55+ GTEST_LISTENER=NO_PASS_LINE_IN_LOG ./rocblas-test --gtest_output=xml --gtest_color=yes --gtest_filter=${ gfilter} -*known_bug*
5856 """
5957
6058 platform. runCommand(this , command)
0 commit comments