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
580f9f62
Commit
580f9f62
authored
Jun 14, 2023
by
Paul Fuqua
Browse files
Turn off address sanitiser for MLIR Debug stage.
parent
d00b8fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Jenkinsfile
Jenkinsfile
+1
-1
No files found.
Jenkinsfile
View file @
580f9f62
...
@@ -120,7 +120,7 @@ rocmtest clang_debug: rocmnode('vega') { cmake_build ->
...
@@ -120,7 +120,7 @@ rocmtest clang_debug: rocmnode('vega') { cmake_build ->
},
mlir_debug:
rocmnode
(
'vega'
)
{
cmake_build
->
},
mlir_debug:
rocmnode
(
'vega'
)
{
cmake_build
->
stage
(
'MLIR Debug'
)
{
stage
(
'MLIR Debug'
)
{
withEnv
([
'MIGRAPHX_ENABLE_MLIR=1'
])
{
withEnv
([
'MIGRAPHX_ENABLE_MLIR=1'
])
{
def
sanitizers
=
"undefined
,address
"
def
sanitizers
=
"undefined"
def
sanitizer_flags
=
"-fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
def
sanitizer_flags
=
"-fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
def
debug_flags
=
"-g -O2 ${sanitizer_flags}"
def
debug_flags
=
"-g -O2 ${sanitizer_flags}"
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DMIGRAPHX_ENABLE_MLIR=On -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DCMAKE_EXE_LINKER_FLAGS_DEBUG='${sanitizer_flags}' -DCMAKE_SHARED_LINKER_FLAGS_DEBUG='${sanitizer_flags}'"
)
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DMIGRAPHX_ENABLE_MLIR=On -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DCMAKE_EXE_LINKER_FLAGS_DEBUG='${sanitizer_flags}' -DCMAKE_SHARED_LINKER_FLAGS_DEBUG='${sanitizer_flags}'"
)
...
...
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