Skip to content

Commit 8484da0

Browse files
committed
ci: Build clang/sanitizers with debug libc++
For the sanitizer build use libc++ with debug hardening enabled. Closes #906.
1 parent 6b7305e commit 8484da0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

circle.yml

+1
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ jobs:
537537
clang-latest-sanitizers:
538538
executor: linux-clang-xlarge
539539
environment:
540+
TOOLCHAIN: clang-libcxx-debug
540541
CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=NO -DSANITIZE=address,undefined,shift-exponent,implicit-conversion,nullability
541542
UBSAN_OPTIONS: halt_on_error=1
542543
steps:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# evmone: Ethereum Virtual Machine
2+
# Copyright 2024 The evmone Authors.
3+
# Licensed under the Apache License, Version 2.0. See the LICENSE file.
4+
5+
set(CMAKE_C_COMPILER clang)
6+
set(CMAKE_CXX_COMPILER clang++)
7+
8+
set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG")

0 commit comments

Comments
 (0)