Skip to content

Commit

Permalink
Fixing macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jrenaud90 committed Apr 26, 2024
1 parent eb718cf commit 3d5bdb3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push_tests_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@ jobs:
shell: bash -el {0}
run: conda info

- name: install gcc-13 # openMP does not play nice with clang on MacOS; also some versions of macos use older gcc so there is a need to install latest.
- name: install gcc-12 # openMP does not play nice with clang on MacOS; also some versions of macos use older gcc so there is a need to install latest.
shell: bash -el {0}
run: |
brew install gcc@13
brew install gcc@12
brew install llvm libomp
- name: Install package
shell: bash -el {0}
run: |
conda install pytest matplotlib numba numpy scipy cython
export CC='gcc-13'
export CC=/usr/local/opt/llvm/bin/clang
export CPPFLAGS="$CPPFLAGS -Xpreprocessor -fopenmp"
python -m pip install -v .
Expand Down

0 comments on commit 3d5bdb3

Please sign in to comment.