File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 steps :
2323 - uses : actions/checkout@v5
24+ - name : Install OpenMP on macOS
25+ if : contains(matrix.os, 'macos')
26+ run : brew install libomp
2427 - name : Set up Python ${{ matrix.python-version }}
2528 id : setup-python
2629 uses : actions/setup-python@v6
3336 virtualenvs-in-project : true
3437 installer-parallel : true
3538 - name : Install dependencies
39+ env :
40+ CPPFLAGS : ${{ runner.os == 'macOS' && '-I/opt/homebrew/opt/libomp/include' || '' }}
41+ LDFLAGS : ${{ runner.os == 'macOS' && '-L/opt/homebrew/opt/libomp/lib' || '' }}
42+ CFLAGS : ${{ runner.os == 'macOS' && '-Xpreprocessor -fopenmp' || '' }}
43+ CXXFLAGS : ${{ runner.os == 'macOS' && '-Xpreprocessor -fopenmp' || '' }}
3644 run : poetry install --no-interaction --no-root
3745 - name : Install machine
3846 run : poetry install --no-interaction
You can’t perform that action at this time.
0 commit comments