mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 04:26:20 -04:00
deps: update to bazel 7
This commit is contained in:
parent
c6e0714a42
commit
a4d25646f5
12 changed files with 50 additions and 18 deletions
|
@ -9,7 +9,3 @@ query --noexperimental_check_external_repository_files
|
|||
# build.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--reuse_sandbox_directories
|
||||
build --reuse_sandbox_directories
|
||||
|
||||
# Avoid this flag being enabled by remote_download_minimal or remote_download_toplevel
|
||||
# See https://meroton.com/blog/bazel-6-errors-build-without-the-bytes/
|
||||
build --noexperimental_action_cache_store_output_metadata
|
|
@ -44,3 +44,16 @@ query --experimental_allow_tags_propagation
|
|||
# https://github.com/bazelbuild/bazel/issues/10076.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_default_to_explicit_init_py
|
||||
build --incompatible_default_to_explicit_init_py
|
||||
|
||||
# Set default value of `allow_empty` to `False` in `glob()`. This prevents a common mistake when
|
||||
# attempting to use `glob()` to match files in a subdirectory that is opaque to the current package
|
||||
# because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob
|
||||
common --incompatible_disallow_empty_glob
|
||||
|
||||
# Always download coverage files for tests from the remote cache. By default, coverage files are not
|
||||
# downloaded on test result cache hits when --remote_download_minimal is enabled, making it impossible
|
||||
# to generate a full coverage report.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
|
||||
# detching remote cache results
|
||||
test --experimental_fetch_all_coverage_outputs
|
||||
|
|
15
bazel/toolchains/cc_deps.bzl
Normal file
15
bazel/toolchains/cc_deps.bzl
Normal file
|
@ -0,0 +1,15 @@
|
|||
"""bazel rules_cc"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def rules_cc_deps():
|
||||
http_archive(
|
||||
name = "rules_cc",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
|
||||
"https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz",
|
||||
],
|
||||
sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
|
||||
strip_prefix = "rules_cc-0.0.9",
|
||||
type = "tar.gz",
|
||||
)
|
|
@ -5,11 +5,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|||
def nixpkgs_deps():
|
||||
http_archive(
|
||||
name = "io_tweag_rules_nixpkgs",
|
||||
sha256 = "cf84628af3e4698acb200c005c4acf1dddaf5e7b9f839eeca78d983db2e874fb",
|
||||
strip_prefix = "rules_nixpkgs-2c767691d12b66a92f231bccb06bcf9f7477b962",
|
||||
sha256 = "d4a8c10121ec7494402a0ae8c1a896ced20d4bef4485b107e37f5331716c3626",
|
||||
strip_prefix = "rules_nixpkgs-244ae504d3f25534f6d3877ede4ee50e744a5234",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/cf84628af3e4698acb200c005c4acf1dddaf5e7b9f839eeca78d983db2e874fb",
|
||||
"https://github.com/tweag/rules_nixpkgs/archive/2c767691d12b66a92f231bccb06bcf9f7477b962.tar.gz",
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/d4a8c10121ec7494402a0ae8c1a896ced20d4bef4485b107e37f5331716c3626",
|
||||
"https://github.com/tweag/rules_nixpkgs/archive/244ae504d3f25534f6d3877ede4ee50e744a5234.tar.gz",
|
||||
],
|
||||
type = "tar.gz",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue