From 29c98f53cedb5ccc9ccf82b6156c934df02d65b2 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 3 May 2022 10:44:16 +1000 Subject: [PATCH] conan: add sanitizer profiles --- conan/profile/x86_64-clang-linux-sanitizer | 18 ++++++++++++++++++ conan/profile/x86_64-gcc-linux-sanitizer | 1 + 2 files changed, 19 insertions(+) create mode 100644 conan/profile/x86_64-clang-linux-sanitizer create mode 120000 conan/profile/x86_64-gcc-linux-sanitizer diff --git a/conan/profile/x86_64-clang-linux-sanitizer b/conan/profile/x86_64-clang-linux-sanitizer new file mode 100644 index 0000000..0a29569 --- /dev/null +++ b/conan/profile/x86_64-clang-linux-sanitizer @@ -0,0 +1,18 @@ +[settings] +os=Linux +arch=x86_64 + +compiler=clang +compiler.version=14 +compiler.libcxx=libc++ + +build_type=Release + +[options] + +[build_requires] + +[env] +CC=clang-14 +CXX=clang++-14 +CXXFLAGS="-fsanitize=undefined -fsanitize=address -fsanitize=leak" diff --git a/conan/profile/x86_64-gcc-linux-sanitizer b/conan/profile/x86_64-gcc-linux-sanitizer new file mode 120000 index 0000000..e74a8d0 --- /dev/null +++ b/conan/profile/x86_64-gcc-linux-sanitizer @@ -0,0 +1 @@ +x86_64-gcc-linux-release \ No newline at end of file