Commit 9f0ed7ed authored by Michaël Roynard's avatar Michaël Roynard
Browse files

Suppress known leaks from sanitizer on CI

parent c1cb92ed
Pipeline #12897 failed with stages
in 6 minutes and 54 seconds
......@@ -82,12 +82,12 @@ distcheck-linux-clang-debug:
- pacman -Sy --noconfirm llvm # TO BE DELETED
- cmake ..
-DCMAKE_BUILD_TYPE=$PYLENE_CONFIGURATION
-DCMAKE_C_FLAGS="-g3 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls"
-DCMAKE_CXX_FLAGS="-g3 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls"
-DCMAKE_C_FLAGS="-O0 -fno-inline -g3 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftemplate-backtrace-limit=0 -fstack-protector-all"
-DCMAKE_CXX_FLAGS="-O0 -fno-inline -g3 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftemplate-backtrace-limit=0 -fstack-protector-all"
-DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls"
-DCMAKE_SHARED_LINKER_FLAGS="-fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls"
-DCMAKE_MODULE_LINKER_FLAGS="-fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls"
- export ASAN_OPTIONS=symbolize=1
- export ASAN_OPTIONS=check_initialization_order=1:symbolize=1:suppressions=../../utils/sanitizer.supp
- export ASAN_SYMBOLIZER_PATH=$(which llvm-symbolizer)
- cmake --build .
--config $PYLENE_CONFIGURATION
......
......@@ -35,7 +35,9 @@ class Pylene(ConanFile):
# Requirements part of the INTERFACE
def requirements(self):
# self.requires("range-v3/head@dutiona/testing")
self.requires("range-v3/0.4.0@ericniebler/stable")
# self.requires("cmcstl2/head@dutiona/testing")
self.requires("cmcstl2/0.1@dutiona/testing")
if self.options.freeimage:
......
# FIXME:
# Suppress memory leaks from tests/UTGraph_image2d
# src:graph/graph_image2d.cpp
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment