mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #8532 from avagin:bazel-disable-cgo
PiperOrigin-RevId: 510353175
This commit is contained in:
@@ -21,6 +21,12 @@ build --cxxopt=-std=c++17
|
||||
# Display the current git revision in the info block.
|
||||
build --stamp --workspace_status_command tools/workspace_status.sh
|
||||
|
||||
build:race --@io_bazel_rules_go//go/config:race --@io_bazel_rules_go//go/config:pure=false
|
||||
test:race --@io_bazel_rules_go//go/config:race --@io_bazel_rules_go//go/config:pure=false
|
||||
|
||||
build --@io_bazel_rules_go//go/config:pure
|
||||
test --@io_bazel_rules_go//go/config:pure
|
||||
|
||||
# Set flags for x86_64.
|
||||
build:x86_64 --crosstool_top=@crosstool//:toolchains
|
||||
build:x86_64 --cpu=k8
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ BRANCH_NAME := $(shell (git branch --show-current 2>/dev/null || \
|
||||
git rev-parse --abbrev-ref HEAD 2>/dev/null) | \
|
||||
xargs -n 1 basename 2>/dev/null)
|
||||
BUILD_ROOTS := bazel-bin/ bazel-out/
|
||||
RACE_FLAGS := --@io_bazel_rules_go//go/config:race
|
||||
RACE_FLAGS := --config=race
|
||||
|
||||
# Bazel container configuration (see below).
|
||||
USER := $(shell whoami)
|
||||
|
||||
Reference in New Issue
Block a user