Releases: bazelbuild/apple_support
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()
1.3.2
What's Changed
- Skip
swizzle_absolute_xcttestsourcelocation
on non-macOS platforms - Add logic to lipo the stub binary to match the requested archs for the Apple build for watchOS extension-dependent applications (watchOS 2 apps)
- Add
AppleLipo
mnemonic to lipo action
This release is compatible with 5.x LTS and bazel 6.x rolling releases.
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "2e3dc4d0000e8c2f5782ea7bb53162f37c485b5d8dc62bb3d7d7fc7c276f0d00",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.3.2/apple_support.1.3.2.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
1.3.1
- Allow
FilesToRunProvider
type executable inapple_support.run
- Fixed
universal_binary
not providing transitiverunfiles
This release is compatible with 5.x LTS and bazel 6.x rolling releases.
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: f4fdf5c9b42b92ea12f229b265d74bb8cedb8208ca7a445b383c9f866cf53392