Skip to content

Commit e0b305c

Browse files
authored
Update MACOSX_DEPLOYMENT_TARGET 10.13 -> 10.15 (#6511)
We are trying to bump the torchao pin in ExecuTorch, but CI jobs fail: pytorch/executorch#9947. In particular this job fails: https://github.com/pytorch/executorch/actions/runs/14321828652/job/40140080161?pr=9947 The root cause is "/Users/runner/work/executorch/executorch/pytorch/executorch/third-party/ao/torchao/experimental/../../torchao/experimental/ops/memory.h:22:34: error: 'aligned_alloc' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]" This is because the test infra defines the "export MACOSX_DEPLOYMENT_TARGET=10.13".
1 parent 6176464 commit e0b305c

File tree

1 file changed

+1
-1
lines changed
  • tools/pkg-helpers/pytorch_pkg_helpers

1 file changed

+1
-1
lines changed

tools/pkg-helpers/pytorch_pkg_helpers/macos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def get_macos_variables(arch_name: str, python_version: str = "3.8") -> list:
22
variables = [
3-
"export MACOSX_DEPLOYMENT_TARGET=10.13",
3+
"export MACOSX_DEPLOYMENT_TARGET=10.15",
44
"export CC=clang",
55
"export CXX=clang++",
66
]

0 commit comments

Comments
 (0)