Skip to content

Commit

Permalink
Update xcode version to 12.0 (and macOS version 10.15 indirectly) (#1485
Browse files Browse the repository at this point in the history
)

All macOS CI jobs were failing at `brew`.
The issue was the macOS version `10.13`, which is no longer supported by `brew`.
The macOS version is indirectly controlled by `xcode` version as listed [here](https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions).

Updating the `xcode` to `"12.0"` as in PyTorch core bump macOS version to `10.15` and it resolves the issue.
`Python 3.9` is still failing but it's packaging issue on upstream, which needs to be resolved separately.
  • Loading branch information
mthrok authored May 5, 2021
1 parent 3ab521f commit a8fbbda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commands:
description: "installs tools required to build torchaudio"
steps:
- run:
name: Install pkg-config
name: Install build tools
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config wget
# Disable brew auto update which is very slow
load_conda_channel_flags:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
binary_macos_wheel:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
steps:
- checkout
- install_build_tools_macos
Expand All @@ -188,7 +188,7 @@ jobs:
binary_macos_conda:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
steps:
- checkout
- install_build_tools_macos
Expand Down Expand Up @@ -509,7 +509,7 @@ jobs:
unittest_macos_cpu:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
resource_class: large
steps:
- checkout
Expand Down
8 changes: 4 additions & 4 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commands:
description: "installs tools required to build torchaudio"
steps:
- run:
name: Install pkg-config
name: Install build tools
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config wget
# Disable brew auto update which is very slow
load_conda_channel_flags:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
binary_macos_wheel:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
steps:
- checkout
- install_build_tools_macos
Expand All @@ -188,7 +188,7 @@ jobs:
binary_macos_conda:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
steps:
- checkout
- install_build_tools_macos
Expand Down Expand Up @@ -509,7 +509,7 @@ jobs:
unittest_macos_cpu:
<<: *binary_common
macos:
xcode: "9.4.1"
xcode: "12.0"
resource_class: large
steps:
- checkout
Expand Down

0 comments on commit a8fbbda

Please sign in to comment.