Skip to content

Commit

Permalink
removing arm64 native python build
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed Mar 13, 2023
1 parent 5908be5 commit 4569bd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
CIBW_ARCHS_WINDOWS: "AMD64 x86"
CIBW_BEFORE_ALL: pip install --upgrade pip
CIBW_BEFORE_ALL_MACOS: bash build_tools/github/before_all_mac.sh
CIBW_BEFORE_BUILD_MACOS: bash build_tools/github/before_all_mac.sh
CIBW_BEFORE_ALL_LINUX: bash build_tools/github/download_eigen3.sh
CIBW_BEFORE_ALL_WINDOWS: bash build_tools/github/download_eigen3_windows.sh
CIBW_ENVIRONMENT: CMAKE_BUILD_PARALLEL_LEVEL=2
Expand Down
14 changes: 7 additions & 7 deletions build_tools/github/before_all_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ if [[ $(uname) == "Darwin" ]]; then
export CXXFLAGS="$CXXFLAGS -I$PREFIX/include"
export LDFLAGS="$LDFLAGS -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -lomp"

if [[ $(uname -m) == "arm64" && "$CIBW_BUILD" == "cp38-macosx_arm64" ]]; then
# Enables native building and testing for macosx arm on Python 3.8. For details see:
# https://cibuildwheel.readthedocs.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
curl -o /tmp/Python38.pkg https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
sudo installer -pkg /tmp/Python38.pkg -target /
sh "/Applications/Python 3.8/Install Certificates.command"
fi
# if [[ $(uname -m) == "arm64" && "$CIBW_BUILD" == "cp38-macosx_arm64" ]]; then
# # Enables native building and testing for macosx arm on Python 3.8. For details see:
# # https://cibuildwheel.readthedocs.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
# curl -o /tmp/Python38.pkg https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
# sudo installer -pkg /tmp/Python38.pkg -target /
# sh "/Applications/Python 3.8/Install Certificates.command"
# fi
fi

brew install eigen
Expand Down

0 comments on commit 4569bd6

Please sign in to comment.