Skip to content
Merged
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.2.0
USE_BAZEL_VERSION=8.3.1
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ build:aarch64_sysroot --incompatible_enable_cc_toolchain_resolution
build:aarch64_sysroot --platforms=@rules_swiftnav//platforms:aarch64_bullseye_graviton2

build:x86_64_sysroot --incompatible_enable_cc_toolchain_resolution
build:x86_64_sysroot --@rules_swiftnav//cc:enable_sysroot=true
build:x86_64_sysroot --@rules_swiftnav//cc:use_libcpp=true

try-import %workspace%/.bazelrc.user
3 changes: 3 additions & 0 deletions .github/workflows/bullseye-aarch64-sysroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "sysroot/**"
- .github/workflows/bullseye-aarch64-sysroot.yaml
- "MODULE.bazel"
- ".bazeliskrc"
- ".bazelrc"
push:
tags:
- "bullseye-sysroot-*"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/bullseye-x86_64-sysroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "sysroot/**"
- .github/workflows/bullseye-x86_64-sysroot.yaml
- "MODULE.bazel"
- ".bazeliskrc"
- ".bazelrc"
push:
tags:
- "bullseye-sysroot-*"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ llvm-obfuscator-*.txz
sysroot/out
/bazel-*
.bazelrc.user

debian_bullseye_x86_64_sysroot.tar.xz
debian_bullseye_aarch64_sysroot.tar.xz
27 changes: 27 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
bazel_dep(name = "bazel_skylib", version = "1.8.2")

bazel_dep(name = "rules_swiftnav", version = "0.10.0")
git_override(
module_name = "rules_swiftnav",
remote = "https://github.com/swift-nav/rules_swiftnav.git",
commit = "3d7491c82b032802774570beb169633d15643846",
)

swift_cc_toolchain_ext = use_extension("@rules_swiftnav//cc:extensions.bzl", "swift_cc_toolchain_extension")
use_repo(
swift_cc_toolchain_ext,
"aarch64-darwin-llvm",
"aarch64-linux-llvm",
"x86_64-darwin-llvm",
"x86_64-linux-llvm",
)

register_toolchains(
"@rules_swiftnav//cc/toolchains/llvm/aarch64-darwin:cc-toolchain-aarch64-darwin",
"@rules_swiftnav//cc/toolchains/llvm/x86_64-darwin:cc-toolchain-x86_64-darwin",
"@rules_swiftnav//cc/toolchains/llvm/aarch64-linux:cc-toolchain-aarch64-linux",
"@rules_swiftnav//cc/toolchains/llvm/x86_64-linux:cc-toolchain-x86_64-linux",
"@rules_swiftnav//cc/toolchains/llvm/x86_64-linux:cc-toolchain-intel-mkl",
"@rules_swiftnav//cc/toolchains/llvm/x86_64-aarch64-linux:cc-toolchain-aarch64-bullseye-graviton2",
"@rules_swiftnav//cc/toolchains/llvm/x86_64-aarch64-linux:cc-toolchain-aarch64-bullseye-graviton3",
)
929 changes: 929 additions & 0 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

55 changes: 0 additions & 55 deletions WORKSPACE.bazel

This file was deleted.