mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
a19044051f
* Add bazel-zig-cc for a hermetic cc toolchain * gazelle * Remove llvm * remove wl * Add new URLs for renamed repo * gazelle * Update to v2.0.0-rc1 * bump to rc2 * Some PR feedback * use v2.0.0 from rc2 * Disable hermetic builds for mac and windows. * bump bazel version, add darwin hack * fix * Add the no-op emtpy cc toolchain code * typo and additional copy * update protobuf and fix vaticle warning * Revert "update protobuf and fix vaticle warning" This reverts commit 7bb4b6b564d2d588567d08dfdd3b9837c26d3c05. --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
# Import bazelrc presets
|
|
import %workspace%/build/bazelrc/convenience.bazelrc
|
|
import %workspace%/build/bazelrc/correctness.bazelrc
|
|
import %workspace%/build/bazelrc/cross.bazelrc
|
|
import %workspace%/build/bazelrc/debug.bazelrc
|
|
import %workspace%/build/bazelrc/hermetic-cc.bazelrc
|
|
import %workspace%/build/bazelrc/performance.bazelrc
|
|
|
|
# E2E run with debug gotag
|
|
test:e2e --define gotags=debug
|
|
|
|
# Clearly indicate that coverage is enabled to disable certain nogo checks.
|
|
coverage --define=coverage_enabled=1
|
|
|
|
# Stamp binaries with git information
|
|
build --workspace_status_command=./hack/workspace_status.sh
|
|
|
|
build --define blst_disabled=false
|
|
run --define blst_disabled=false
|
|
|
|
build:blst_disabled --define blst_disabled=true
|
|
build:blst_disabled --define gotags=blst_disabled
|
|
|
|
build:minimal --//proto:network=minimal
|
|
build:minimal --@io_bazel_rules_go//go/config:tags=minimal
|
|
|
|
# Release flags
|
|
build:release --compilation_mode=opt
|
|
build:release --stamp
|
|
|
|
# Build binary with cgo symbolizer for debugging / profiling.
|
|
build:cgo_symbolizer --copt=-g
|
|
build:cgo_symbolizer --define=USE_CGO_SYMBOLIZER=true
|
|
build:cgo_symbolizer -c dbg
|
|
build:cgo_symbolizer --define=gotags=cgosymbolizer_enabled
|
|
|
|
# toolchain build debug configs
|
|
#------------------------------
|
|
build:debug --sandbox_debug
|
|
build:debug --toolchain_resolution_debug=".*"
|
|
build:debug --verbose_failures
|
|
build:debug -s
|
|
|
|
# Set bazel gotag
|
|
build --define gotags=bazel
|