Commit 5ce59f05 authored by Jehandad Khan's avatar Jehandad Khan
Browse files

revert disable Jenkins stages

parent 9a915fd7
...@@ -165,79 +165,79 @@ pipeline { ...@@ -165,79 +165,79 @@ pipeline {
// variable = value // variable = value
// } // }
stages{ stages{
// stage("Static checks") { stage("Static checks") {
// parallel{ parallel{
// // enable after we move from hipcc to hip-clang // enable after we move from hipcc to hip-clang
// // stage('Tidy') { // stage('Tidy') {
// // agent{ label rocmnode("nogpu") }
// // environment{
// // // setup_cmd = "CXX='/opt/rocm/bin/hipcc' cmake -DBUILD_DEV=On .. "
// // build_cmd = "make -j\$(nproc) -k analyze"
// // }
// // steps{
// // buildHipClangJobAndReboot(build_cmd: build_cmd, no_reboot:true, prefixpath: '/opt/rocm', build_type: 'debug')
// // }
// // }
// stage('Build Profiler: Release, gfx908')
// {
// agent { label rocmnode("nogpu")}
// environment{
// setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
// }
// steps{
// buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Release')
// }
// }
// stage('Build Profiler: Debug, gfx908')
// {
// agent { label rocmnode("nogpu")}
// environment{
// setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
// }
// steps{
// // until we stabilize debug build due to compiler crashes
// catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
// buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Debug')
// }
// }
// }
// stage('Clang Format') {
// agent{ label rocmnode("nogpu") } // agent{ label rocmnode("nogpu") }
// environment{ // environment{
// execute_cmd = "find . -iname \'*.h\' \ // // setup_cmd = "CXX='/opt/rocm/bin/hipcc' cmake -DBUILD_DEV=On .. "
// -o -iname \'*.hpp\' \ // build_cmd = "make -j\$(nproc) -k analyze"
// -o -iname \'*.cpp\' \
// -o -iname \'*.h.in\' \
// -o -iname \'*.hpp.in\' \
// -o -iname \'*.cpp.in\' \
// -o -iname \'*.cl\' \
// | grep -v 'build/' \
// | xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-10 -style=file {} | diff - {}\'"
// } // }
// steps{ // steps{
// buildHipClangJobAndReboot(setup_cmd: "", build_cmd: "", execute_cmd: execute_cmd, no_reboot:true) // buildHipClangJobAndReboot(build_cmd: build_cmd, no_reboot:true, prefixpath: '/opt/rocm', build_type: 'debug')
// }
// }
// } // }
// } // }
// stage("Tests") stage('Build Profiler: Release, gfx908')
// { {
// parallel agent { label rocmnode("nogpu")}
// { environment{
// stage("Run Tests: gfx908") setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
// { }
// agent{ label rocmnode("gfx908")} steps{
// environment{ buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Release')
// setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """ }
// } }
// steps{ stage('Build Profiler: Debug, gfx908')
// buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "check", no_reboot:true, build_type: 'Release') {
// } agent { label rocmnode("nogpu")}
environment{
setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
}
steps{
// until we stabilize debug build due to compiler crashes
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Debug')
}
}
}
stage('Clang Format') {
agent{ label rocmnode("nogpu") }
environment{
execute_cmd = "find . -iname \'*.h\' \
-o -iname \'*.hpp\' \
-o -iname \'*.cpp\' \
-o -iname \'*.h.in\' \
-o -iname \'*.hpp.in\' \
-o -iname \'*.cpp.in\' \
-o -iname \'*.cl\' \
| grep -v 'build/' \
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-10 -style=file {} | diff - {}\'"
}
steps{
buildHipClangJobAndReboot(setup_cmd: "", build_cmd: "", execute_cmd: execute_cmd, no_reboot:true)
}
}
}
}
stage("Tests")
{
parallel
{
stage("Run Tests: gfx908")
{
agent{ label rocmnode("gfx908")}
environment{
setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
}
steps{
buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "check", no_reboot:true, build_type: 'Release')
}
// } }
// } }
// } }
stage("Client App") stage("Client App")
{ {
parallel parallel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment