Skip to content

Commit 1112fcf

Browse files
committed
ci: Build clang/sanitizers with libc++
Closes #906.
1 parent 602b8f9 commit 1112fcf

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
@@ -514,6 +514,7 @@ jobs:
514514
clang-latest-sanitizers:
515515
executor: linux-clang-xlarge
516516
environment:
517+
TOOLCHAIN: clang-libcxx
517518
CMAKE_OPTIONS: -DBUILD_SHARED_LIBS=NO -DSANITIZE=address,undefined,shift-exponent,implicit-conversion,nullability
518519
UBSAN_OPTIONS: halt_on_error=1
519520
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)