Skip to content

Commit af990fc

Browse files
authored
ci: gcc 14 in linux-gcc-thread-sanitizer (#2166)
1 parent 83ef47f commit af990fc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.circleci/config.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,14 @@ jobs:
236236
environment:
237237
BUILD_CMAKE_ARGS: -DSILKWORM_SANITIZE=thread
238238
machine:
239-
image: ubuntu-2204:2023.04.2
239+
image: ubuntu-2404:2024.05.1
240240
resource_class: 2xlarge
241241
steps:
242242
- checkout_with_submodules
243+
- run:
244+
name: "TSAN hack"
245+
# https://stackoverflow.com/questions/77850769/fatal-threadsanitizer-unexpected-memory-mapping-when-running-on-linux-kernels
246+
command: sudo sysctl vm.mmap_rnd_bits=30
243247
- build_using_conan:
244248
compiler_id: gcc
245249
compiler_version: <<pipeline.parameters.gcc_version_latest>>
@@ -417,7 +421,7 @@ parameters:
417421
default: 11
418422
gcc_version_latest:
419423
type: integer
420-
default: 12
424+
default: 14
421425

422426
workflows:
423427
light:
@@ -427,9 +431,9 @@ workflows:
427431
jobs:
428432
- lint
429433
- linux-release:
430-
name: linux-gcc-<<pipeline.parameters.gcc_version_latest>>-release
434+
name: linux-gcc-12-release
431435
compiler_id: gcc
432-
compiler_version: <<pipeline.parameters.gcc_version_latest>>
436+
compiler_version: 12
433437
ethereum_tests: false
434438
requires:
435439
- lint

0 commit comments

Comments
 (0)