-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bazel: patch
apple_support
to avoid registering its toolchain
This is done in order to avoid requiring a full Xcode installation, but still being able to use other `apple_support` facilities, like `universal_binary`.
- Loading branch information
Showing
5 changed files
with
52 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
17 changes: 17 additions & 0 deletions
17
misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/MODULE.bazel
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 @@ | ||
module( | ||
name = "apple_support", | ||
version = "1.15.1-codeql.1", | ||
bazel_compatibility = [">=6.0.0"], | ||
compatibility_level = 1, | ||
repo_name = "build_bazel_apple_support", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.3.0") | ||
bazel_dep(name = "platforms", version = "0.0.9") | ||
|
||
bazel_dep( | ||
name = "stardoc", | ||
version = "0.6.2", | ||
dev_dependency = True, | ||
repo_name = "io_bazel_stardoc", | ||
) |
20 changes: 20 additions & 0 deletions
20
misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/patches/module.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,20 @@ | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
index 6b06c3b..99bc7c6 100644 | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,6 +1,6 @@ | ||
module( | ||
name = "apple_support", | ||
- version = "0", | ||
+ version = "1.15.1-codeql.1", | ||
bazel_compatibility = [">=6.0.0"], | ||
compatibility_level = 1, | ||
repo_name = "build_bazel_apple_support", | ||
@@ -16,7 +16,3 @@ bazel_dep( | ||
repo_name = "io_bazel_stardoc", | ||
) | ||
|
||
-apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension") | ||
-use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains") | ||
- | ||
-register_toolchains("@local_config_apple_cc_toolchains//:all") |
9 changes: 9 additions & 0 deletions
9
misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/source.json
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 @@ | ||
{ | ||
"integrity": "sha256-xLsrc2fEhDgjAK7nW+WYuS+EeJb7MbvSLzojRq32aoA=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/bazelbuild/apple_support/releases/download/1.15.1/apple_support.1.15.1.tar.gz", | ||
"patches": { | ||
"module.patch": "sha256-K06B2W9t6nKcU8S5u6cWeNIdw/vGWWKAoJdGiI8CSS0=" | ||
}, | ||
"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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"versions": [ | ||
"1.15.1-codeql.1" | ||
] | ||
} |