Skip to content

Commit

Permalink
fix mac x64 pip publish
Browse files Browse the repository at this point in the history
  • Loading branch information
oeqqwq committed Mar 15, 2024
1 parent fc50355 commit 651a250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ build:linux --linkopt=-fopenmp
build:macos --copt="-Xpreprocessor -fopenmp"
build:macos --copt=-Wno-unused-command-line-argument
build:macos --features=-supports_dynamic_linker
build:macos --macos_minimum_os=12.0
build:macos --host_macos_minimum_os=12.0
build:macos --macos_minimum_os=11.0
build:macos --host_macos_minimum_os=11.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ def has_ext_modules(self):
if sys.platform == "darwin":
# Due to a bug in conda x64 python, platform tag has to be 10_16 for X64 wheel
if platform.machine() == "x86_64":
plat_name = "macosx_12_0_x86_64"
plat_name = "macosx_10_16_x86_64"
else:
plat_name = "macosx_12_0_arm64"
plat_name = "macosx_11_0_arm64"
elif platform.machine() == "aarch64":
# Linux aarch64
plat_name = "manylinux_2_28_aarch64"
Expand Down

0 comments on commit 651a250

Please sign in to comment.