diff --git a/modules/apple_support/1.9.0/MODULE.bazel b/modules/apple_support/1.9.0/MODULE.bazel new file mode 100644 index 00000000000..d3d6a7bec1d --- /dev/null +++ b/modules/apple_support/1.9.0/MODULE.bazel @@ -0,0 +1,17 @@ +module( + name = "apple_support", + version = "1.9.0", + 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.7") + +bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True, 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") diff --git a/modules/apple_support/1.9.0/patches/module_dot_bazel_version.patch b/modules/apple_support/1.9.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..0203d6dabff --- /dev/null +++ b/modules/apple_support/1.9.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,13 @@ +Index: MODULE.bazel +=================================================================== +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "apple_support", +- version = "0", ++ version = "1.9.0", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_apple_support", + ) diff --git a/modules/apple_support/1.9.0/presubmit.yml b/modules/apple_support/1.9.0/presubmit.yml new file mode 100644 index 00000000000..b8209c4577b --- /dev/null +++ b/modules/apple_support/1.9.0/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] + +tasks: + verify_targets: + name: "Build targets under //lib" + platform: ${{ platform }} + build_targets: + - '@apple_support//lib/...' + run_tests: + name: "Run test targets" + platform: "macos" + test_targets: + - '@apple_support//test/...' + - '--' + # Needs the new toolchain + - '-@apple_support//test:linking_disable_objc_apple_link_test' diff --git a/modules/apple_support/1.9.0/source.json b/modules/apple_support/1.9.0/source.json new file mode 100644 index 00000000000..ba07a0b9769 --- /dev/null +++ b/modules/apple_support/1.9.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-tQbGcgCmpkR2tWFdsgyIeg/zMSisqjFIpcnlFnxKB14=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/apple_support/releases/download/1.9.0/apple_support.1.9.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-icmXP4eF13m+PzfZMSKk0ZOc5RPAu3uWrCzhCMsUa5k=" + }, + "patch_strip": 0 +} diff --git a/modules/apple_support/metadata.json b/modules/apple_support/metadata.json index 909a0daf5fe..b152f44aacb 100644 --- a/modules/apple_support/metadata.json +++ b/modules/apple_support/metadata.json @@ -28,7 +28,8 @@ "1.7.0", "1.7.1", "1.8.0", - "1.8.1" + "1.8.1", + "1.9.0" ], "yanked_versions": {} }