apple_support@2.8.4
diff --git a/modules/apple_support/2.8.4/MODULE.bazel b/modules/apple_support/2.8.4/MODULE.bazel new file mode 100644 index 0000000..9ea0a41 --- /dev/null +++ b/modules/apple_support/2.8.4/MODULE.bazel
@@ -0,0 +1,69 @@ +"""apple_support""" + +module( + name = "apple_support", + bazel_compatibility = [">=7.4.0"], + compatibility_level = 1, + version = "2.8.4", +) + +bazel_dep(name = "bazel_features", version = "1.27.0") +bazel_dep(name = "bazel_skylib", version = "1.9.0") +bazel_dep(name = "platforms", version = "0.0.9") +bazel_dep(name = "rules_cc", version = "0.2.20") + +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") + +xcode_configure = use_extension("//xcode:xcode_configure.bzl", "xcode_configure_extension") +use_repo(xcode_configure, "local_config_xcode") + +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.46.0", dev_dependency = True) +bazel_dep(name = "rules_go", version = "0.59.0", dev_dependency = True) # TODO: Remove when transitives update past this version +bazel_dep(name = "rules_shell", version = "0.3.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True) + +# TODO: Remove when transitives bump past this +bazel_dep(name = "protobuf", version = "33.0", dev_dependency = True) + +http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "swift_linux_toolchain", + build_file = "//test/linux_toolchain:swift_toolchain.BUILD", + dev_dependency = True, + integrity = "sha256-LDrXrXSrcknULxcu47QLyKcpiTAQtKM4S6JvPGHjUAg=", + strip_prefix = "swift-6.3.3-RELEASE-ubuntu22.04", + urls = ["https://download.swift.org/swift-6.3.3-release/ubuntu2204/swift-6.3.3-RELEASE/swift-6.3.3-RELEASE-ubuntu22.04.tar.gz"], +) + +http_archive( + name = "swift_linux_sysroot", + build_file = "//test/linux_toolchain:linux_sysroot.BUILD", + dev_dependency = True, + integrity = "sha256-h8Pq+QjmfA4TqENnEZ4SJzzsHSzT2B99dLs2ci1rYHs=", + patch_cmds = ["mv BUILD.bazel x86_64/BUILD.bazel"], + strip_prefix = "swift-6.3.3-RELEASE_static-linux-0.1.0.artifactbundle/swift-6.3.3-RELEASE_static-linux-0.1.0/swift-linux-musl/musl-1.2.5.sdk", + urls = ["https://download.swift.org/swift-6.3.3-release/static-sdk/swift-6.3.3-RELEASE/swift-6.3.3-RELEASE_static-linux-0.1.0.artifactbundle.tar.gz"], +) + +dmg_arc_test_deps = use_extension("//tools/http_dmg/private/tests:http_dmg_test_extensions.bzl", "http_dmg_test", dev_dependency = True) +use_repo( + dmg_arc_test_deps, + "http_dmg_test_firefox", + "http_dmg_test_firefox_strip_prefix", + "http_dmg_test_krita", + "http_dmg_test_krita_strip_prefix", +) + +register_toolchains( + "//test/linux_toolchain", + dev_dependency = True, +) + +toolchain_env = use_repo_rule("//toolchain:toolchain_env.bzl", "toolchain_env") + +toolchain_env(name = "apple_support_toolchain_env")
diff --git a/modules/apple_support/2.8.4/patches/module_dot_bazel_version.patch b/modules/apple_support/2.8.4/patches/module_dot_bazel_version.patch new file mode 100644 index 0000000..43d929f --- /dev/null +++ b/modules/apple_support/2.8.4/patches/module_dot_bazel_version.patch
@@ -0,0 +1,13 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -3,8 +3,9 @@ + module( + name = "apple_support", + bazel_compatibility = [">=7.4.0"], + compatibility_level = 1, ++ version = "2.8.4", + ) + + bazel_dep(name = "bazel_features", version = "1.27.0") + bazel_dep(name = "bazel_skylib", version = "1.9.0")
diff --git a/modules/apple_support/2.8.4/presubmit.yml b/modules/apple_support/2.8.4/presubmit.yml new file mode 100644 index 0000000..f569e30 --- /dev/null +++ b/modules/apple_support/2.8.4/presubmit.yml
@@ -0,0 +1,36 @@ +matrix: + bazel: ["7.x", "8.x", "9.x", "rolling"] + +tasks: + verify_targets: + name: "Build targets under //lib" + platform: ubuntu2004 + bazel: ${{ bazel }} + build_targets: + - '@apple_support//lib/...' + +bcr_test_module: + module_path: "." + + matrix: + bazel: ["7.x", "8.x", "9.x", "rolling"] + + tasks: + run_tests: + name: "Run test targets" + platform: "macos_arm64" + bazel: ${{ bazel }} + test_targets: + - '//test/...' + - '--' + # Needs visionOS SDK + - '-//test:binary_visionos_arm64_simulator_test' + - '-//test:binary_visionos_device_test' + # Needs Xcode update on BCR CI + - '-//test:binary_relative_oso_test' + # Needs min bazel version 8.x on BCR CI + - '-//test:linking_generate_cpp_dsym_test' + # Depends on repo's .bazelrc + - '-//test:compiling_default_apple_macos_compile_test' + - '-//test:compiling_default_c_compile_test' + - '-//test:compiling_objc_copt_order_test'
diff --git a/modules/apple_support/2.8.4/source.json b/modules/apple_support/2.8.4/source.json new file mode 100644 index 0000000..ad3d980 --- /dev/null +++ b/modules/apple_support/2.8.4/source.json
@@ -0,0 +1,10 @@ +{ + "integrity": "sha256-/kWip40S6Wg/vjylPFXgI43/cC+gsvRR8e8zn8QA9Hg=", + "strip_prefix": "", + "docs_url": "https://github.com/bazelbuild/apple_support/releases/download/2.8.4/apple_support.2.8.4.docs.tar.gz", + "url": "https://github.com/bazelbuild/apple_support/releases/download/2.8.4/apple_support.2.8.4.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-/q+SmXrdtjcJHgZ8fT1r8JGhg7dmOIkmD158mZI6OWk=" + }, + "patch_strip": 1 +}
diff --git a/modules/apple_support/metadata.json b/modules/apple_support/metadata.json index 12d3f08..da7b61f 100644 --- a/modules/apple_support/metadata.json +++ b/modules/apple_support/metadata.json
@@ -92,7 +92,8 @@ "2.8.0", "2.8.1", "2.8.2", - "2.8.3" + "2.8.3", + "2.8.4" ], "yanked_versions": {} }