Skip to content

Releases: keith/rules_apple_linker

0.5.1

21 Oct 22:16
945d677
Compare
Choose a tag to compare
  • Update lld

Full Changelog: 0.5.0...0.5.1

See the README for general usage.

MODULE.bazel setup:

bazel_dep(name = "rules_apple_linker", version = "0.5.1")

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "80c1d608f52d880c9315c493a500ab29238d48633e5aabc49f109c1cfab4b071",
    strip_prefix = "rules_apple_linker-0.5.1",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.5.1.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes lld 10-21-24

0.5.0

22 Jan 19:36
fcf5858
Compare
Choose a tag to compare
  • Remove zld since it's no longer being updated. You can still use it with apple_linker_override if needed
  • Fix support for single or multiple files or targets as the linker attribute
  • Fix support for bazel @ HEAD

Full Changelog: 0.4.0...0.5.0

See the README for general usage.

MODULE.bazel setup:

bazel_dep(name = "rules_apple_linker", version = "0.5.0")

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "0136f56de6f3857d0ca1922c21a858c65120408b8f24d0d49e2f1e12112ed59b",
    strip_prefix = "rules_apple_linker-0.5.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.5.0.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes lld 4-6-23

Add support for linker targets with runfiles

09 Jun 16:14
5544b20
Compare
Choose a tag to compare

This release allows you to use apple_linker_override's linker attribute with a target that produces multiple files rather than a single file. This is useful if you need to wrap a linker in a sh_binary or similar target.

See the README for general usage.

MODULE.bazel setup:

bazel_dep(name = "rules_apple_linker", version = "0.4.0")

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "70b664b3ddc335178d163f487d0bda5e895f3dc00d311c17c3b4050e780056b8",
    strip_prefix = "rules_apple_linker-0.4.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.4.0.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3 and lld 4-6-23

LLD Update

20 Apr 21:57
ca89629
Compare
Choose a tag to compare

See the README for general usage.

MODULE.bazel setup:

bazel_dep(name = "rules_apple_linker", version = "0.3.1")

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "b9d6bdf4b1c8e0107bbdb3f71d4b59ba5a16029e438e23d2c4d448b04693d72e",
    strip_prefix = "rules_apple_linker-0.3.1",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.3.1.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3 and lld 4-6-23

Add bzlmod support, remove mold

13 Jan 00:50
82c98d0
Compare
Choose a tag to compare

See the README for general usage. If you'd still like to use mold you can use apple_linker_override and set the linker attribute to your binary.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "a8aecd86d9c63677a8f1a3849c52c05d4aed1d1d9c209db2904f53f8973731d4",
    strip_prefix = "rules_apple_linker-0.3.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.3.0.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3 and lld 12-22-22.

LLD Update

23 Dec 01:29
e20f923
Compare
Choose a tag to compare

See the README for general usage.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "b9732b34344e64aa631f34cc9807febea6a0c6a965b0d9c9c5fcafbcb2a7bb24",
    strip_prefix = "rules_apple_linker-0.2.4",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.2.4.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 12-22-22, and mold 11-7-22

LLD Update

15 Dec 00:28
e65c948
Compare
Choose a tag to compare

See the README for general usage.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "e11a97fca3a367c518b8eb5197418d69a22f6697d7f2e0815f5d80bcb5d9c123",
    strip_prefix = "rules_apple_linker-0.2.3",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.2.3.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 12-14-22, and mold 11-7-22

LLD Update

12 Dec 16:52
4ed8ace
Compare
Choose a tag to compare

See the README for general usage.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "2ee42e4059544b2ddcf48fdcae801e8348108ee7878ca855faef15c2ae2265ba",
    strip_prefix = "rules_apple_linker-0.2.2",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.2.2.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 12-9-22, and mold 11-7-22

LLD Update

29 Nov 23:10
ca57e24
Compare
Choose a tag to compare

See the README for general usage.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "bfd6d3f324490ddd3a15afd5269e1b23086510bd20505f92f8775fd2c3130621",
    strip_prefix = "rules_apple_linker-0.2.1",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.2.1.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 11-29-22, and mold 11-7-22

Add mold support

07 Nov 19:12
39de4d1
Compare
Choose a tag to compare

Note: mold macho support is incomplete, so it may or may not work in your use case

See the README for general usage.

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "be45926580139b1a3fb6726e4c9f593d9a337485811770181bac121e3bdd0a4e",
    strip_prefix = "rules_apple_linker-0.2.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.2.0.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 10-14-22, and mold 11-7-22