From 3de8cf9d2e59396bc578553bb3cdf4921649b110 Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:04:41 +1000 Subject: [PATCH] update build flags in core --- .github/workflows/build.yml | 2 +- Dockerfile.core | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5652aaf5..22bd555c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,7 @@ env: # Cache ID is a value inserted into cache keys. Whenever changing the build # in a way that needs to use entirely new fresh builds, increment the number # by one so that all the keys become new. - CACHE_ID: 4 + CACHE_ID: 5 ARTIFACT_RETENTION_DAYS_FOR_IMAGE: 7 ARTIFACT_RETENTION_DAYS_FOR_LOGS: 60 diff --git a/Dockerfile.core b/Dockerfile.core index 7b7b4add..491a1ff8 100644 --- a/Dockerfile.core +++ b/Dockerfile.core @@ -20,10 +20,12 @@ RUN git submodule foreach --recursive git clean -dXf ARG CC=clang-12 ARG CXX=clang++-12 -ARG CFLAGS='-O3 -g1' -ARG CXXFLAGS='-O3 -g1' +ARG CFLAGS='-O3 -g1 -fno-omit-frame-pointer' +ARG CXXFLAGS='-O3 -g1 -fno-omit-frame-pointer -stdlib=libc++' ARG CONFIGURE_FLAGS='' +RUN sysctl vm.mmap_rnd_bits=28 + RUN ./autogen.sh RUN ./install-rust.sh ENV PATH "/root/.cargo/bin:$PATH"