Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Keith Smiley <keithbsmiley@gmail.com>
- Loading branch information
1 parent
5ebf57f
commit 9dd2aaf
Showing
5 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module( | ||
name = "rules_apple_linker", | ||
version = "0.5.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.11.1", dev_dependency = True, repo_name = "build_bazel_apple_support") | ||
bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True) | ||
bazel_dep(name = "rules_apple", version = "3.2.1", dev_dependency = True, repo_name = "build_bazel_rules_apple") | ||
bazel_dep(name = "rules_swift", version = "1.15.1", dev_dependency = True, repo_name = "build_bazel_rules_swift") | ||
|
||
non_module_deps = use_extension("//:deps.bzl", "linker_deps") | ||
use_repo( | ||
non_module_deps, | ||
"rules_apple_linker_lld", | ||
) | ||
|
||
apple_cc_configure = use_extension( | ||
"@build_bazel_apple_support//crosstool:setup.bzl", | ||
"apple_cc_configure_extension", | ||
dev_dependency = True, | ||
) | ||
use_repo(apple_cc_configure, "local_config_apple_cc") |
12 changes: 12 additions & 0 deletions
12
modules/rules_apple_linker/0.5.0/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_apple_linker", | ||
- version = "0.3.0", | ||
+ version = "0.5.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.11.1", dev_dependency = True, repo_name = "build_bazel_apple_support") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tasks: | ||
verify_targets: | ||
name: Verify targets | ||
platform: macos | ||
build_targets: | ||
- '@rules_apple_linker//:lld' | ||
|
||
bcr_test_module: | ||
module_path: "" | ||
tasks: | ||
run_test_module: | ||
name: "Run test module" | ||
platform: macos | ||
build_targets: | ||
- '//test/...' | ||
test_targets: | ||
- '//test/...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"url": "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.5.0.tar.gz", | ||
"integrity": "sha256-ATb1bebzhX0MoZIsIahYxlEgQIuPJNDUni8eEhEu1Zs=", | ||
"strip_prefix": "rules_apple_linker-0.5.0", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-qUW1CbzeTh7CzyOQNhHe9aF9Bf4OV5X42xybAeOYOUw=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ | |
"versions": [ | ||
"0.3.0", | ||
"0.3.1", | ||
"0.4.0" | ||
"0.4.0", | ||
"0.5.0" | ||
], | ||
"yanked_versions": {} | ||
} |