-
Notifications
You must be signed in to change notification settings - Fork 501
Expand file tree
/
Copy path.bazelrc
More file actions
22 lines (19 loc) · 1.18 KB
/
Copy path.bazelrc
File metadata and controls
22 lines (19 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# yosys 0.64 is not yet in BCR; add the unmerged PR's fork as a fallback
# registry until bazelbuild/bazel-central-registry#8862 lands. BCR is
# listed first so all other modules resolve from the official source;
# the fork is only consulted for modules/versions BCR doesn't carry yet.
# The commit hash makes the fork reference immutable. Mirrors what
# bazel-orfs/.bazelrc does upstream — ORFS root has its own .bazelrc so
# the upstream lines don't propagate automatically.
common --registry=https://bcr.bazel.build/
common --registry=https://raw.githubusercontent.com/oharboe/bazel-central-registry/0586b398db6edd245da97cbec29e26c5e2a808d7/
build --incompatible_strict_action_env
build --cxxopt "-std=c++20" --host_cxxopt "-std=c++20"
# Don't track MODULE.bazel.lock. Resolved versions ride along with the
# pinned BCR + git_override(commit=…) coordinates in MODULE.bazel and
# downstream cache hits are what we actually care about. Tracking the
# lockfile just means every bazel-orfs / yosys / openroad bump produces
# a 1000-line lock diff that buries the real change. Matches what
# bazel-orfs itself does (its own .bazelrc:7).
common --lockfile_mode=off
try-import %workspace%/user.bazelrc