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
f6e47a74
"...config/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "14c1b31c784e14a498e78631bb7f40f0ca3a9151"
Commit
f6e47a74
authored
May 31, 2023
by
Paul Fuqua
Browse files
I think I need linker flags for some sanitizers.
parent
eba83224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Jenkinsfile
Jenkinsfile
+3
-2
No files found.
Jenkinsfile
View file @
f6e47a74
...
@@ -121,8 +121,9 @@ rocmtest clang_debug: rocmnode('vega') { cmake_build ->
...
@@ -121,8 +121,9 @@ rocmtest clang_debug: rocmnode('vega') { cmake_build ->
stage
(
'MLIR Debug'
)
{
stage
(
'MLIR Debug'
)
{
withEnv
([
'MIGRAPHX_ENABLE_MLIR=1'
])
{
withEnv
([
'MIGRAPHX_ENABLE_MLIR=1'
])
{
def
sanitizers
=
"thread"
def
sanitizers
=
"thread"
def
debug_flags
=
"-g -O2 -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
def
sanitizer_flags
=
"-fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
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}'"
)
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}'"
)
}
}
}
}
},
clang_asan:
rocmnode
(
'nogpu'
)
{
cmake_build
->
},
clang_asan:
rocmnode
(
'nogpu'
)
{
cmake_build
->
...
...
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