Skip to content

Commit be2551c

Browse files
committed
ci: Build clang/sanitizers with libc++
Closes #906.
1 parent f84f801 commit be2551c

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
@@ -511,6 +511,7 @@ jobs:
511511
clang-latest-sanitizers:
512512
executor: linux-clang-xlarge
513513
environment:
514+
TOOLCHAIN: clang-libcxx
514515
CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=NO -DSANITIZE=address,undefined,shift-exponent,implicit-conversion,nullability
515516
UBSAN_OPTIONS: halt_on_error=1
516517
steps:

cmake/toolchains/clang-libcxx.cmake

+8
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++)

0 commit comments

Comments
 (0)