Skip to content

Commit 06b8d8e

Browse files
committed
BLD: bump min version of Clang to 15.0, and macOS min version to 10.14
Addresses the wheel build failures reported for macOS x86-64 in scipygh-22487. macOS 10.14 is from 2018, so is still a very loose lower bound, we don't expect issues as a result. The Clang >=15 is probably also reasonable, since it's rare to see a version below 16 being used. Targeting macOS 10.13 causes cibuildwheel to pull in XCode 14.1 with Clang 14.0, while macOS 10.14 pulls in XCode 15.2 and Clang 15.0.
1 parent fc5893c commit 06b8d8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- [ubuntu-22.04, musllinux, x86_64, "", ""]
8484
- [ubuntu-24.04-arm, manylinux, aarch64, "", ""]
8585
- [ubuntu-24.04-arm, musllinux, aarch64, "", ""]
86-
- [macos-13, macosx, x86_64, openblas, "10.13"]
86+
- [macos-13, macosx, x86_64, openblas, "10.14"]
8787
- [macos-13, macosx, x86_64, accelerate, "14.0"]
8888
- [macos-14, macosx, arm64, openblas, "12.3"]
8989
- [macos-14, macosx, arm64, accelerate, "14.0"]

meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ if cc.get_id() == 'gcc'
4141
error('SciPy requires GCC >= 9.1')
4242
endif
4343
elif cc.get_id() == 'clang' or cc.get_id() == 'clang-cl'
44-
if not cc.version().version_compare('>=12.0')
45-
error('SciPy requires clang >= 12.0')
44+
if not cc.version().version_compare('>=15.0')
45+
error('SciPy requires clang >= 15.0')
4646
endif
4747
elif cc.get_id() == 'msvc'
4848
if not cc.version().version_compare('>=19.20')

0 commit comments

Comments
 (0)