Releases: bazelbuild/apple_support
1.10.0
What's Changed
- Use
no_warn_duplicate_libraries
by default with Xcode 15, thanks @kersson! - Add platforms to apple_universal_binary transition, thanks @comius!
- Enable use_default_shell_env everywhere when using bazel 7.x+
- Add build flags to allow overriding platforms used in transitions
- Improve error message for unknown CPUs
- Derive platform type from CPU instead of from apple fragments to fix
--apple_platform_type
mismatches
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.10.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "73455d9ae35d28e04853fc9e276bbd05ba4297dbb9cc16e4a15f2034ce687a4c",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.10.0/apple_support.1.10.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.9.0
What's Changed
- Add initial visionOS support
- Fix ios_arm64e cpu value to match platforms cpu constraint, thanks @comius!
- Remove 32 bit CPUs that are no longer supported by Xcode
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.9.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "b506c67200a6a64476b5615db20c887a0ff33128acaa3148a5c9e5167c4a075e",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.9.0/apple_support.1.9.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.8.1
What's Changed
- Update platforms dependency
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.8.1", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "45d6bbad5316c9c300878bf7fffc4ffde13d620484c9184708c917e20b8b63ff",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.8.1/apple_support.1.8.1.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.8.0
What's Changed
- Replace
DEVELOPER_DIR
in debug prefix mapping with/PLACEHOLDER_DEVELOPER_DIR
to be more clear that it's not the same as$DEVELOPER_DIR
- Add
~/Applications
to allowed include directories to fix declared inclusion bazel errors if you keep Xcode there. If you keep Xcode in a non-standard directory you need to set--repo_env=BAZEL_ALLOW_NON_APPLICATIONS_XCODE=1
to allow arbitrary directories - Remove
cpp_linker_flags
feature which resulted in duplicate-lc++
linker flags causing a warning with ld-prime in Xcode 15 beta 4. These options are passed elsewhere so this shouldn't result in any behavior change
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.8.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "34bab0182c33ef595015eb0e66518ef09b367a7841cdba997c6c01843b62f753",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.8.0/apple_support.1.8.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.7.1
What's Changed
- Fix
@build_bazel_apple_support//configs:apple
with thedarwin
CPU
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.7.1", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "4f8dabf7cd16c23d2a406bbf60291c7c8c2e3c617e182a82585e1d3efe36670b",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.7.1/apple_support.1.7.1.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.7.0
What's Changed
- Update C++ standard default from 11 to 14
- Add new
XCODE_VERSION
toolchain env var
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.7.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "14458bd8191e08499299362e19e7e6951f25b9532a2504bd86e51bc74ddf7a21",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.7.0/apple_support.1.7.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.6.0
What's Changed
- Remove support for bitcode now that Xcode 14.1 is the minimum supported version required for uploading to the App Store
- Make
device
the default oftarget_environment
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releasess
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.6.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "9f7bb62c3ae889e0eae8c18458fd8764e2e537687d9a1d85885d6af980e4fc31",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.6.0/apple_support.1.6.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.5.0
What's Changed
- Flipped defaults of hermetic debug info flags (#206)
- Added
BAZEL_ALLOW_NON_APPLICATIONS_XCODE
to run xcode-locator (#197) - Moved
-ObjC
into a separate feature (#210) - Removed
-ObjC
from C++ links (#211) - Added proper support for custom Swift toolchains (#213)
- Added
config_setting
s for platforms (#179)
This release is compatible with 5.x LTS and bazel 6.x rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.5.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "9a2338d6f8dad3244f823f2dc6084a03e4d0fbb27ca892dc970e6890d5b48184",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.4.1
What's Changed
- Fix compatibility with bazel HEAD
- Increase timeouts for macOS toolchain setup
This release is compatible with 5.x LTS and bazel 6.x rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "apple_support", version = "1.4.1", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "77a121a0f5d4cd88824429464ad2bfb54bdc8a3bccdb4d31a6c846003a3f5e44",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.4.1/apple_support.1.4.1.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.4.0
What's Changed
- Move Apple CC toolchain from bazel into apple_support. This is a major change that will be required to switch to when moving to bazel 7.0. This toolchain is required for targeting any non-macOS Apple platform and has many Apple specific improvements if you're only building for macOS. You can migrate to this now and get some benefits over the builtin toolchain immediately, see the readme for setup instructions
- Add
__BAZEL_EXECUTION_ROOT__
replacement in the toolchain. This allows you to pass hermetic flags that reference the execution root in the case of flags like-fdebug-prefix-map
that require absolute paths - Remove O1 from sanitizer feature flag defaults
- Add
coverage_prefix_map
feature passing-fcoverage-prefix-map
to ObjC/C* compiles by default. This eliminates absolute paths in binaries built for coverage - Improve bzlmod support, thanks @BalestraPatrick!
This release is compatible with 5.x LTS and bazel 6.x rolling releases.
bzlmod Snippet
bazel_dep(name = "apple_support", version = "1.4.0", repo_name = "build_bazel_apple_support")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "33f0836185441c796d9d7d9d090204055f8e4e4b60370bd9f05e7b17b113d288",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.4.0/apple_support.1.4.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()