Skip to content

Commit

Permalink
faster workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous authored Oct 4, 2024
1 parent 0ca4780 commit eb9ab4a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python_PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ jobs:
shell: bash -el {0}
run: |
if [[ ${{ matrix.os }} =~ "macos-".* ]]; then
export CXXFLAGS="-fno-aligned-new -g" # Macos workaround
export CFLAGS="-fno-aligned-new -g" # Macos workaround
export CXXFLAGS="-fno-aligned-new" # Macos workaround
export CFLAGS="-fno-aligned-new" # Macos workaround
export MACOSX_DEPLOYMENT_TARGET="13.0"
fi
if [[ ${{ matrix.os }} =~ "ubuntu-".* ]]; then
export CXXFLAGS="-march=x86-64-v3 -g" # post haswell, for avx
export CFLAGS="-march=x86-64-v3 -g"
export CXXFLAGS="-march=x86-64-v3" # post haswell, for avx
export CFLAGS="-march=x86-64-v3"
export CPPFLAGS="-isystem $CONDA_PREFIX/include"
fi
if [[ ${{ matrix.os }} =~ "windows-".* ]]; then
set LIBPATH=%LIBPATH%;C:\Miniconda\envs\build_test_env\Library\lib
Expand Down

0 comments on commit eb9ab4a

Please sign in to comment.