Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI

# The flag below may be needed if blst throws SIGILL, which happens with certain (older) CPUs
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"

on:
push:
branches: [ "master", "devnet-v3" ]
Expand Down
1 change: 1 addition & 0 deletions geth/Dockerfile.geth
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ WORKDIR /app/go-ethereum

# The flag below may be needed if blst throws SIGILL, which happens with certain (older) CPUs
# ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__"
ENV CGO_CFLAGS=$CGO_CFLAGS

# Build directly as make geth doesn't work because it expects a normal git repository rather than a submodule. We set -buildvcs directly here to avoid this
RUN go build \
Expand Down
1 change: 1 addition & 0 deletions prysm/Dockerfile.prysm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ WORKDIR /app/prysm

# The flag below may be needed if blst throws SIGILL, which happens with certain (older) CPUs
# ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__"
ENV CGO_CFLAGS=$CGO_CFLAGS

RUN go build -o /build/beacon-node -buildvcs=false ./cmd/beacon-chain
RUN go build -o /build/validator -buildvcs=false ./cmd/validator
Expand Down