Skip to content

Commit

Permalink
use MACOSX_DEPLOYMENT_TARGET=13
Browse files Browse the repository at this point in the history
  • Loading branch information
taegyunkim committed Jan 22, 2025
1 parent ff022cd commit d42abf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_python_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
rm -rf ./tempwheelhouse
CIBW_REPAIR_WHEEL_COMMAND_MACOS: |
zip -d {wheel} \*.c \*.cpp \*.cc \*.h \*.hpp \*.pyx &&
MACOSX_DEPLOYMENT_TARGET=13.0 delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS:
choco install -y 7zip &&
7z d -r "{wheel}" *.c *.cpp *.cc *.h *.hpp *.pyx &&
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
zip -d {wheel} \*.c \*.cpp \*.cc \*.h \*.hpp \*.pyx &&
echo $(unzip -l {wheel} | grep .so$) &&
echo $(unzip -l {wheel} | grep .dylib$) &&
MACOSX_DEPLOYMENT_TARGET=13.0 delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS:
choco install -y 7zip &&
7z d -r "{wheel}" *.c *.cpp *.cc *.h *.hpp *.pyx &&
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

# Set macOS SDK default deployment target to 10.14 for C++17 support (if unset, may default to 10.9)
if CURRENT_OS == "Darwin":
os.environ.setdefault("MACOSX_DEPLOYMENT_TARGET", "10.14")
os.environ.setdefault("MACOSX_DEPLOYMENT_TARGET", "13")


def interpose_sccache():
Expand Down

0 comments on commit d42abf2

Please sign in to comment.