mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.14] GH-134291: Support older macOS deployment targets for JIT builds (GH-137211) (#137701)
Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
This commit is contained in:
parent
ccb6de37d3
commit
2392232ec4
3 changed files with 7 additions and 14 deletions
4
.github/workflows/jit.yml
vendored
4
.github/workflows/jit.yml
vendored
|
|
@ -113,6 +113,10 @@ jobs:
|
|||
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||
brew install llvm@${{ matrix.llvm }}
|
||||
export SDKROOT="$(xcrun --show-sdk-path)"
|
||||
# Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to
|
||||
# make sure we don't break downstream distributors (like uv):
|
||||
export CFLAGS_JIT='-Werror=unguarded-availability'
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.15
|
||||
./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
|
||||
make all --jobs 4
|
||||
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue