Skip to content

Add macOS arm64 build compatibility fixes - #25

Open
stevenvar wants to merge 1 commit into
for-serving-2.20from
macos-replay-build-fixes
Open

Add macOS arm64 build compatibility fixes#25
stevenvar wants to merge 1 commit into
for-serving-2.20from
macos-replay-build-fixes

Conversation

@stevenvar

@stevenvar stevenvar commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

This PR adds the macOS arm64 compatibility changes used to build the TensorFlow CPU wheel. It is rebased on the current for-serving-2.20 branch.

The symbolic-expression implementation and unit tests previously carried by this branch have been removed because they are already merged into the base branch.

Changes

  • add build_macos.sh with the pinned macOS CPU wheel build configuration
  • update Bazel Apple support for the current macOS toolchain
  • isolate JIT flag headers so wrapper generation does not link unwanted registrations
  • add explicit BUILD dependencies required by the macOS build
  • adapt affected XLA tests to the current dynamic MakeShape API
  • remove invalid std::is_signed specializations rejected by Apple Clang

Validation

The compatibility patch was previously used to build //tensorflow/tools/pip_package:wheel on macOS arm64.

@stevenvar
stevenvar force-pushed the macos-replay-build-fixes branch from 783112e to 0bf83bd Compare July 7, 2026 10:23
@stevenvar stevenvar changed the title Macos replay build fixes Replay for-serving-2.20 with macOS build fixes at tip Jul 7, 2026
@stevenvar stevenvar changed the title Replay for-serving-2.20 with macOS build fixes at tip Replay for-serving-2.20 and add macOS build fixes Jul 7, 2026
@stevenvar
stevenvar force-pushed the macos-replay-build-fixes branch from 0bf83bd to ebc827e Compare July 7, 2026 10:31
@stevenvar stevenvar changed the title Replay for-serving-2.20 and add macOS build fixes Add macOS build fixes on top of for-serving-2.20 Jul 7, 2026
@stevenvar
stevenvar force-pushed the macos-replay-build-fixes branch 2 times, most recently from b578903 to bf0a6d4 Compare July 7, 2026 10:36
@stevenvar stevenvar changed the title Add macOS build fixes on top of for-serving-2.20 Add macOS build fixes on top of for-serving-2.20 + unit tests Jul 13, 2026
@stevenvar
stevenvar force-pushed the macos-replay-build-fixes branch from cccb510 to 56527c2 Compare July 29, 2026 16:52
@stevenvar stevenvar changed the title Add macOS build fixes on top of for-serving-2.20 + unit tests Add macOS arm64 build compatibility fixes Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant