Skip to content

Commit

Permalink
potential fix for macos arm
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous authored Jan 9, 2024
1 parent 98d2962 commit b25a1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
shell: bash -el {0}
run: |
if [[ ${{ matrix.os }} == "macos-latest" ]]; then
export CXXFLAGS="-fno-aligned-new $CXXFLAGS" # Macos workaround
export CFLAGS="-fno-aligned-new $CFLAGS" # Macos workaround
export CXXFLAGS="-march=generic -mtune=generic -fno-aligned-new $CXXFLAGS" # Macos workaround
export CFLAGS="-march=generic -mtune=generic-fno-aligned-new $CFLAGS" # Macos workaround
## should compile for both architecture
export MACOSX_DEPLOYMENT_TARGET="11.7"
export _PYTHON_HOST_PLATFORM="macosx-11.7-universal2"
Expand Down

0 comments on commit b25a1a2

Please sign in to comment.