Skip to content
Snippets Groups Projects
Commit fe75f7ca authored by Martin Larralde's avatar Martin Larralde
Browse files

Add stub OpenMP headers to allow compiling on OSX

parent cec1e886
No related branches found
No related tags found
No related merge requests found
...@@ -136,6 +136,8 @@ jobs: ...@@ -136,6 +136,8 @@ jobs:
run: brew install boost run: brew install boost
- name: Build C extension - name: Build C extension
run: python setup.py build_ext --inplace --debug run: python setup.py build_ext --inplace --debug
- name: Install numpy
run: python -m pip install numpy
- name: Install tests requirements - name: Install tests requirements
run: python -m pip install -r pyfastani/tests/requirements.txt run: python -m pip install -r pyfastani/tests/requirements.txt
- name: Test with coverage - name: Test with coverage
......
/* A stub `omp.h` to get compilation to work on OSX */
extern int omp_get_thread_num(void);
extern int omp_get_num_threads(void);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment