Releases: keith/rules_apple_linker
0.5.0
- 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
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
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
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
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
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
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
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
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
LLD Update
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 = "d5c1a8bcecc7891584e49f9bc724bbdf319add93ed2e3eb3e7fc1ad12284b39e",
strip_prefix = "rules_apple_linker-0.1.7",
url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.1.7.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
10-14-22