sglang_v0.5.2/pytorch_2.8.0/third_party/cpuinfo/scripts/local-bazel-build.sh

19 lines
359 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2024 Google LLC
set -e
BAZEL_ARGS=()
# Bazel-level configuration
#
# If editing these flags, make sure `local-build.sh` flags are updated.
BAZEL_ARGS+=("-c=\"opt\"")
BAZEL_ARGS+=("-copt=\"fpic\"")
# User-specified Bazel arguments go last to allow overridding defaults
BAZEL_ARGS+=($@)
# Build all targets
bazel build :all