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
d9208110
Commit
d9208110
authored
Nov 29, 2018
by
Khalique
Browse files
Merge branch 'develop' of
https://github.com/ROCmSoftwarePlatform/AMDMIGraphX
into variadic
parents
87d35010
1707b0e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
Jenkinsfile
Jenkinsfile
+13
-1
No files found.
Jenkinsfile
View file @
d9208110
...
@@ -113,6 +113,18 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
...
@@ -113,6 +113,18 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
def
cmake_linker_flags
=
"-DCMAKE_EXE_LINKER_FLAGS='${linker_flags}' -DCMAKE_SHARED_LINKER_FLAGS='${linker_flags}'"
def
cmake_linker_flags
=
"-DCMAKE_EXE_LINKER_FLAGS='${linker_flags}' -DCMAKE_SHARED_LINKER_FLAGS='${linker_flags}'"
// TODO: Add bounds-strict
// TODO: Add bounds-strict
def
sanitizers
=
"undefined,address"
def
sanitizers
=
"undefined,address"
cmake_build
(
"g++-7"
,
"-DCMAKE_BUILD_TYPE=debug ${cmake_linker_flags} -DCMAKE_CXX_FLAGS_DEBUG='-g -fno-omit-frame-pointer -fsanitize-address-use-after-scope -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}'"
)
def
debug_flags
=
"-g -fprofile-arcs -ftest-coverage -fno-omit-frame-pointer -fsanitize-address-use-after-scope -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
cmake_build
(
"g++-7"
,
"-DCMAKE_BUILD_TYPE=debug ${cmake_linker_flags} -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}'"
)
}
stage
(
'Codecov'
)
{
env
.
CODECOV_TOKEN
=
"8545af1c-f90b-4345-92a5-0d075503ca56"
sh
'''
cd build
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
curl -s https://codecov.io/bash | bash
'''
}
}
}
}
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