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/toolchain_utils
1 result
Show changes
# [1.2.0](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.1.0...v1.2.0) (2025-02-18)
### Features
- add `cygwin` C library constraint ([fea66a1](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/fea66a1ad5f6ce28f41e1c8d1338dc3658dbb0ac))
- export `TOOLCHAIN_{COU,TRI}PLETS` ([2a2baae](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/2a2baae88ca5b98ef255f89e58eb8020cb202832))
# [1.1.0](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.2...v1.1.0) (2025-02-17)
### Bug Fixes
......
module(
name = "toolchain_utils",
version = "1.1.0",
version = "1.2.0",
bazel_compatibility = [
">=7.1.0",
],
......
load("@toolchain_utils//toolchain:defs.bzl", "TOOLCHAIN_COUPLETS", "TOOLCHAIN_TRIPLETS")
load("@bazel_skylib//rules:build_test.bzl", "build_test")
build_test(
name = "couplets",
size = "small",
targets = ["@toolchain_utils//toolchain/constraint:{}".format(t.value) for t in TOOLCHAIN_COUPLETS],
)
build_test(
name = "triplets",
size = "small",
targets = ["@toolchain_utils//toolchain/constraint:{}".format(t.value) for t in TOOLCHAIN_TRIPLETS],
)
load("@toolchain_utils//toolchain:defs.bzl", "TOOLCHAIN_COUPLETS", "TOOLCHAIN_TRIPLETS")
load("@bazel_skylib//rules:build_test.bzl", "build_test")
build_test(
name = "couplets",
size = "small",
targets = ["@toolchain_utils//toolchain/platform:{}".format(t.value) for t in TOOLCHAIN_COUPLETS],
)
build_test(
name = "triplets",
size = "small",
targets = ["@toolchain_utils//toolchain/platform:{}".format(t.value) for t in TOOLCHAIN_TRIPLETS],
)
......@@ -38,3 +38,9 @@ constraint_value(
constraint_setting = ":libc",
visibility = ["//visibility:public"],
)
constraint_value(
name = "cygwin",
constraint_setting = ":libc",
visibility = ["//visibility:public"],
)
load(":versions.bzl", "VERSIONS")
constraint_setting(
name = "cygwin",
visibility = ["//visibility:public"],
)
[
constraint_value(
name = version,
constraint_setting = ":cygwin",
visibility = ["//visibility:public"],
)
for version in VERSIONS
]
load("@local//:triplet.bzl", "TRIPLET")
visibility("//toolchain/...")
LOCAL = TRIPLET.libc.version and TRIPLET.libc.version.value
# TODO: figure out a way to generate Cygwin versions
VERSIONS = tuple([LOCAL] if LOCAL != None else [])
load("//toolchain/couplet:couplets.bzl", _COUPLETS = "COUPLETS")
load("//toolchain/triplet:triplets.bzl", _TRIPLETS = "TRIPLETS")
visibility("public")
TOOLCHAIN_COUPLETS = _COUPLETS
TOOLCHAIN_TRIPLETS = _TRIPLETS