Skip to content

Commit 6848fd7

Browse files
update build flags in core (#776)
1 parent a485f51 commit 6848fd7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ env:
6868
# Cache ID is a value inserted into cache keys. Whenever changing the build
6969
# in a way that needs to use entirely new fresh builds, increment the number
7070
# by one so that all the keys become new.
71-
CACHE_ID: 4
71+
CACHE_ID: 5
7272
ARTIFACT_RETENTION_DAYS_FOR_IMAGE: 7
7373
ARTIFACT_RETENTION_DAYS_FOR_LOGS: 60
7474

Dockerfile.core

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ RUN git submodule foreach --recursive git clean -dXf
2020

2121
ARG CC=clang-12
2222
ARG CXX=clang++-12
23-
ARG CFLAGS='-O3 -g1'
24-
ARG CXXFLAGS='-O3 -g1'
23+
ARG CFLAGS='-O3 -g1 -fno-omit-frame-pointer'
24+
ARG CXXFLAGS='-O3 -g1 -fno-omit-frame-pointer -stdlib=libc++'
2525
ARG CONFIGURE_FLAGS=''
2626

27+
RUN sysctl vm.mmap_rnd_bits=28
28+
2729
RUN ./autogen.sh
2830
RUN ./install-rust.sh
2931
ENV PATH "/root/.cargo/bin:$PATH"

0 commit comments

Comments
 (0)