Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bazel/rules_bzip2
1 result
Show changes
Commits on Source (9)
# Enable `bzlmod`
common --enable_bzlmod
# Build cache
build --experimental_guard_against_concurrent_changes
......
......@@ -16,9 +16,6 @@ common --show_timestamps
# Do not wrap any output
common --terminal_columns=0
# Print relative paths where possible to reduce noise
common --attempt_to_print_relative_paths
# Output as much information in the CI log about failures as possible
build --verbose_failures
......@@ -28,6 +25,9 @@ test --test_output=errors
# Output as much information when a test exceeds a timeout
test --test_verbose_timeout_warnings
# Validate that the lockfile is correct
common --lockfile_mode=error
# These locations are cached on the CI
build:local --disk_cache=${CI_PROJECT_DIR}/.cache/bazel/disk
build:local --repository_cache=${CI_PROJECT_DIR}/.cache/bazel/repo
......@@ -60,5 +60,5 @@ build:remote --experimental_profile_include_primary_output
# Eliminate duplicate references in the Build Event Stream
build:remote --nolegacy_important_outputs
# TODO: remove this when `bazel/ape` binaries work on remote execution `arm64` instances
build:remote --host_platform=@toolchain_utils//toolchain/platform:amd64-linux-gnu
# Describe remote executors
build:remote --extra_execution_platforms=@toolchain_utils//toolchain/platform:amd64-linux-gnu
7.0.0
7.3.1
include:
- component: "${CI_SERVER_HOST}/ci/component/bazelisk/bazelisk@v1.0.0-beta.3"
- component: "${CI_SERVER_HOST}/ci/component/bazelisk/bazelisk@v1.0.0-beta.4"
inputs:
variables: |
CI_PROJECT_DIR
......@@ -21,14 +21,20 @@ default:
test:
extends: .bazelisk
cache:
- !reference [.bazelisk, cache]
- key: "bazel-cache-${CI_PROJECT_ID}"
paths:
- ".cache/bazel/disk"
- ".cache/bazel/repo"
parallel:
matrix:
- ROOT:
- .
- e2e
- .
- e2e
CONFIG:
- local
- remote
- local
- remote
script:
- cd "${ROOT}"; bazelisk test --config="${CONFIG}" //...
......
# [1.0.0-beta.3](https://git.gitlab.arm.com/bazel/rules_bzip2/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-09-03)
### Features
- add `@bzip2//:bzip2` toolchain ([f2de2fc](https://git.gitlab.arm.com/bazel/rules_bzip2/commit/f2de2fc1b4ed068ac8114f4a3cf70574f6dba517))
# [1.0.0-beta.2](https://git.gitlab.arm.com/bazel/rules_bzip2/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-08-12)
### Bug Fixes
......
module(
name = "rules_bzip2",
version = "1.0.0-beta.2",
version = "1.0.0-beta.3",
bazel_compatibility = [
">=7.0.0",
],
......@@ -10,6 +10,9 @@ module(
bazel_dep(name = "rules_coreutils", version = "1.0.0-beta.1")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.12")
bazel_dep(name = "ape", version = "1.0.0-beta.12")
bazel_dep(name = "bzip2", version = "1.0.8.bcr.1", repo_name = "bcr")
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0", dev_dependency = True)
export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
use_repo(export, "ape-bzip2")
......
This diff is collapsed.
......@@ -31,6 +31,9 @@ bzip2_decompress(
The module is entirely hermetic, using `@ape//:bzip2` as the default toolchain.
The `@bzip2//:bzip2` is available as a toolchain but is only hermetic if a hermetic C/C++ toolchain
is configured. Select it with `--extra_toolchains=@rules_bzip2//bzip2/toolchain/bzip2:built`.
## Release Registry
The project publishes the relevant files to GitLab releases for use when a version has not been added to the upstream [BCR][bcr].
......
load("@ape//ape/toolchain:defs.bzl", "ape_toolchain")
load("@toolchain_utils//toolchain/info:defs.bzl", "toolchain_info")
load("@toolchain_utils//toolchain/test:defs.bzl", "toolchain_test")
toolchain_type(
......@@ -6,6 +7,17 @@ toolchain_type(
visibility = ["//visibility:public"],
)
toolchain_info(
name = "bzip2",
target = "@bcr//:bzip2",
)
toolchain(
name = "built",
toolchain = ":bzip2",
toolchain_type = ":type",
)
ape_toolchain(
name = "ape",
toolchain = "@ape//ape/toolchain/info:bzip2",
......
# Enable `bzlmod`
common --enable_bzlmod
# Build cache
build --experimental_guard_against_concurrent_changes
......
......@@ -16,9 +16,6 @@ common --show_timestamps
# Do not wrap any output
common --terminal_columns=0
# Print relative paths where possible to reduce noise
common --attempt_to_print_relative_paths
# Output as much information in the CI log about failures as possible
build --verbose_failures
......@@ -28,6 +25,9 @@ test --test_output=errors
# Output as much information when a test exceeds a timeout
test --test_verbose_timeout_warnings
# Validate that the lockfile is correct
common --lockfile_mode=error
# These locations are cached on the CI
build:local --disk_cache=${CI_PROJECT_DIR}/.cache/bazel/disk
build:local --repository_cache=${CI_PROJECT_DIR}/.cache/bazel/repo
......@@ -60,6 +60,5 @@ build:remote --experimental_profile_include_primary_output
# Eliminate duplicate references in the Build Event Stream
build:remote --nolegacy_important_outputs
# TODO: remove this when `bazel/ape` binaries work on remote execution `arm64` instances
build:remote --host_platform=@toolchain_utils//toolchain/platform:amd64-linux-gnu
# Describe remote executors
build:remote --extra_execution_platforms=@toolchain_utils//toolchain/platform:amd64-linux-gnu
7.0.0
7.3.1
......@@ -8,8 +8,10 @@ module(
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.12")
bazel_dep(name = "rules_coreutils", version = "1.0.0-beta.6")
bazel_dep(name = "rules_diff", version = "1.0.0-beta.4")
bazel_dep(name = "rules_bzip2", version = "0.0.0")
bazel_dep(name = "rules_bzip2")
local_path_override(
module_name = "rules_bzip2",
path = "..",
)
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0", dev_dependency = True)
This diff is collapsed.