Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .bazeliskrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
USE_BAZEL_VERSION=6.5.0
USE_BAZEL_VERSION=7.6.1
7 changes: 7 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
common --enable_bzlmod
common --registry=https://raw.githubusercontent.com/swift-nav/swiftnav-bazel-registry/refs/heads/main/
common --registry=https://bcr.bazel.build
common --@rules_swiftnav//cc:enable_bzlmod=true
# Preparation for Bazel 8 behavior of paths in external (plus instead of tilde)
common --incompatible_use_plus_in_repo_names

# Causes the build to default to the custom toolchain
build --incompatible_enable_cc_toolchain_resolution

Expand Down
7 changes: 6 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ module(name = "libsbp", version = "0.1.0", compatibility_level = 1)

bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "rules_swiftnav", version = "0.5.0")
git_override(
module_name = "rules_swiftnav",
commit = "02144e3668556504ebe5a045ae0f53968d7ea667",
remote = "https://github.com/swift-nav/rules_swiftnav.git",
)

swift_cc_toolchain_ext = use_extension("@rules_swiftnav//cc:extensions.bzl", "swift_cc_toolchain_extension")
use_repo(
Expand All @@ -27,7 +32,7 @@ register_toolchains(
)

bazel_dep(name = "check", version = "0.15.2", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.13.0", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.13.0", repo_name = "gtest", dev_dependency = True)

bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
Expand Down
Loading
Loading