Skip to content

Releases: bazel-contrib/musl-toolchain

v0.1.20

10 Sep 20:44
fccbaa6
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.20", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "86bf928e6b11e81d2d33ca8e044b875f1ed7c7016b607376dd5575db7342c31e",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.20/musl_toolchain-v0.1.20.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

Full Changelog: v0.1.19...v0.1.20

v0.1.19

29 Aug 23:33
8d24006
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.19", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "ba25fa7fb5dceb17f14d6c66262982e79d26c5ed680230b5e1b18fd065f8f378",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.19/musl_toolchain-v0.1.19.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Run cc_tests with a hermetic musl dynamic linker by @fmeum in #39

Full Changelog: v0.1.18...v0.1.19

v0.1.18

22 Aug 15:24
eb6d911
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.18", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "19d3d3a57748f27f24063eee862e8e1be57523974e29bae7a39fbfd245f43710",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.18/musl_toolchain-v0.1.18.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Update musl-cross-make for reproducibility by @fmeum in #34
  • Build macOS from a case-sensitive volume by @illicitonion in #35
  • Add Linux aarch64 builds by @fmeum in #38
  • Fix tester arch for Linux aarch64 by @fmeum in #40

Full Changelog: v0.1.17...v0.1.18

v0.1.17

10 Jul 18:25
665031d
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.17", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "1e6cf99f35277dbb9c3b341a9986d0f33cf70e0cc76a58f062d2d9b7ab56eeeb",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.17/musl_toolchain-v0.1.17.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

Full Changelog: v0.1.16...v0.1.17

v0.1.16

13 Jun 19:43
42e03c1
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.16", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "3932d11fc916c5b5b186e46fc057660cc3cb36ab2461835edca37f790b9f8e06",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.16/musl_toolchain-v0.1.16.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

Full Changelog: v0.1.15...v0.1.16

v0.1.15

13 Jun 09:15
be307bd
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.15", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "26cacffab74e10f0840c83b0be9193dc6deccfbc8ec1cf6f8362dc61d0057fa1",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.15/musl_toolchain-v0.1.15.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Strip Linux binaries by @fmeum in #27
  • Ensure compatibility with Bazel 6 by @fmeum in #28

Full Changelog: v0.1.14...v0.1.15

v0.1.14

12 Jun 17:01
8341025
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.14", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "3e0cd2bda7db79853929daacfcbef7e59c2166d3e76b2a38bcf4f8fb529339f2",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.14/musl_toolchain-v0.1.14.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Make it possible to run tests on Linux by @fmeum in #26

Full Changelog: v0.1.13...v0.1.14

v0.1.13

12 Jun 13:49
3d3146d
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.13", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "a09786968191a455534fb9165ad7beb0e9acf7dac1919a52289b0f95dceafa58",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.13/musl_toolchain-v0.1.13.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

Full Changelog: v0.1.12...v0.1.13

v0.1.12

11 Jun 18:33
6e02daf
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.12", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "145e28425a1f6293698060141dac77da81c8c181e46fa09739c6ea12a755959f",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.12/musl_toolchain-v0.1.12.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Add missing presubmit matrix dimension by @fmeum in #20

Full Changelog: v0.1.11...v0.1.12

v0.1.11

11 Jun 17:36
275e5f4
Compare
Choose a tag to compare

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.11", dev_dependency = True)

If you need to attach custom exec or target constraints to these toolchains, you can write:

toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
    extra_exec_compatible_with = ["//some/constraint:label"],
    extra_target_compatible_with = ["@some//other/constraint:label"],
)

If you are using WORKSPACE, paste the following instead:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "musl_toolchains",
    sha256 = "7285415fa13e80b212dff8b799382fdf0a0939698efcb0efcdfe1224c0c88c83",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.11/musl_toolchain-v0.1.11.tar.gz",
)

load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")

load_musl_toolchains()

load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")

register_musl_toolchains()

What's Changed

  • Fix version field in MODULE.bazel by @fmeum in #19

Full Changelog: v0.1.10...v0.1.11