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
MIGraphX
Commits
2aead2b9
"vscode:/vscode.git/clone" did not exist on "2d16421a18c428235e19ff173140dafbfb7dca5f"
Commit
2aead2b9
authored
Aug 15, 2019
by
Paul
Browse files
Split debug and release
parent
7c3839de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Jenkinsfile
Jenkinsfile
+2
-1
No files found.
Jenkinsfile
View file @
2aead2b9
...
@@ -99,13 +99,14 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
...
@@ -99,13 +99,14 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-5.0 -style=file {} | diff - {}\'
| xargs -n 1 -P 1 -I{} -t sh -c \'clang-format-5.0 -style=file {} | diff - {}\'
'''
'''
}
}
},
clang:
rocmnode
(
'vega'
)
{
cmake_build
->
},
clang
_debug
:
rocmnode
(
'vega'
)
{
cmake_build
->
stage
(
'Clang Debug'
)
{
stage
(
'Clang Debug'
)
{
// TODO: Enanle integer
// TODO: Enanle integer
def
sanitizers
=
"undefined"
def
sanitizers
=
"undefined"
def
debug_flags
=
"-g -fno-omit-frame-pointer -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
def
debug_flags
=
"-g -fno-omit-frame-pointer -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
cmake_build
(
"hcc"
,
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}'"
)
cmake_build
(
"hcc"
,
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}'"
)
}
}
},
clang_release:
rocmnode
(
'vega'
)
{
cmake_build
->
stage
(
'Clang Release'
)
{
stage
(
'Clang Release'
)
{
cmake_build
(
"hcc"
,
"-DCMAKE_BUILD_TYPE=release"
)
cmake_build
(
"hcc"
,
"-DCMAKE_BUILD_TYPE=release"
)
}
}
...
...
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