Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
5ce59f05
"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "ce9d7c8dfc2775198de705969cb6e548165272f9"
Commit
5ce59f05
authored
Apr 18, 2022
by
Jehandad Khan
Browse files
revert disable Jenkins stages
parent
9a915fd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
71 deletions
+71
-71
Jenkinsfile
Jenkinsfile
+71
-71
No files found.
Jenkinsfile
View file @
5ce59f05
...
@@ -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") }
// agent{ label rocmnode("nogpu") }
//
// environment{
// environment{
//
// // setup_cmd = "CXX='/opt/rocm/bin/hipcc' cmake -DBUILD_DEV=On .. "
// // setup_cmd = "CXX='/opt/rocm/bin/hipcc' cmake -DBUILD_DEV=On .. "
//
// build_cmd = "make -j\$(nproc) -k analyze"
// build_cmd = "make -j\$(nproc) -k analyze"
//
// }
// }
//
// steps{
// steps{
//
// buildHipClangJobAndReboot(build_cmd: build_cmd, no_reboot:true, prefixpath: '/opt/rocm', build_type: 'debug')
// buildHipClangJobAndReboot(build_cmd: build_cmd, no_reboot:true, prefixpath: '/opt/rocm', build_type: 'debug')
//
// }
// }
//
// }
// }
//
stage('Build Profiler: Release, gfx908')
stage
(
'Build Profiler: Release, gfx908'
)
//
{
{
//
agent { label rocmnode("nogpu")}
agent
{
label
rocmnode
(
"nogpu"
)}
//
environment{
environment
{
//
setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
//
}
}
//
steps{
steps
{
//
buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Release')
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"ckProfiler"
,
no_reboot:
true
,
build_type:
'Release'
)
//
}
}
//
}
}
//
stage('Build Profiler: Debug, gfx908')
stage
(
'Build Profiler: Debug, gfx908'
)
//
{
{
//
agent { label rocmnode("nogpu")}
agent
{
label
rocmnode
(
"nogpu"
)}
//
environment{
environment
{
//
setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
//
}
}
//
steps{
steps
{
//
// until we stabilize debug build due to compiler crashes
// until we stabilize debug build due to compiler crashes
//
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
catchError
(
buildResult:
'SUCCESS'
,
stageResult:
'FAILURE'
)
{
//
buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "ckProfiler", no_reboot:true, build_type: 'Debug')
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"ckProfiler"
,
no_reboot:
true
,
build_type:
'Debug'
)
//
}
}
//
}
}
//
}
}
//
stage('Clang Format') {
stage
(
'Clang Format'
)
{
//
agent{ label rocmnode("nogpu") }
agent
{
label
rocmnode
(
"nogpu"
)
}
//
environment{
environment
{
//
execute_cmd = "find . -iname \'*.h\' \
execute_cmd
=
"find . -iname \'*.h\' \
//
-o -iname \'*.hpp\' \
-o -iname \'*.hpp\' \
//
-o -iname \'*.cpp\' \
-o -iname \'*.cpp\' \
//
-o -iname \'*.h.in\' \
-o -iname \'*.h.in\' \
//
-o -iname \'*.hpp.in\' \
-o -iname \'*.hpp.in\' \
//
-o -iname \'*.cpp.in\' \
-o -iname \'*.cpp.in\' \
//
-o -iname \'*.cl\' \
-o -iname \'*.cl\' \
//
| grep -v 'build/' \
| grep -v 'build/' \
//
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-10 -style=file {} | diff - {}\'"
| 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
(
setup_cmd:
""
,
build_cmd:
""
,
execute_cmd:
execute_cmd
,
no_reboot:
true
)
//
}
}
//
}
}
//
}
}
//
}
}
//
stage("Tests")
stage
(
"Tests"
)
//
{
{
//
parallel
parallel
//
{
{
//
stage("Run Tests: gfx908")
stage
(
"Run Tests: gfx908"
)
//
{
{
//
agent{ label rocmnode("gfx908")}
agent
{
label
rocmnode
(
"gfx908"
)}
//
environment{
environment
{
//
setup_args = """ -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
//
}
}
//
steps{
steps
{
//
buildHipClangJobAndReboot(setup_args:setup_args, config_targets: "check", no_reboot:true, build_type: 'Release')
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"check"
,
no_reboot:
true
,
build_type:
'Release'
)
//
}
}
//
}
}
//
}
}
//
}
}
stage
(
"Client App"
)
stage
(
"Client App"
)
{
{
parallel
parallel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment