Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PyFastANI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Larralde
PyFastANI
Commits
fe75f7ca
Commit
fe75f7ca
authored
3 years ago
by
Martin Larralde
Browse files
Options
Downloads
Patches
Plain Diff
Add stub OpenMP headers to allow compiling on OSX
parent
cec1e886
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/test.yml
+2
-0
2 additions, 0 deletions
.github/workflows/test.yml
pyfastani/omp.h
+4
-0
4 additions, 0 deletions
pyfastani/omp.h
with
6 additions
and
0 deletions
.github/workflows/test.yml
+
2
−
0
View file @
fe75f7ca
...
...
@@ -136,6 +136,8 @@ jobs:
run
:
brew install boost
-
name
:
Build C extension
run
:
python setup.py build_ext --inplace --debug
-
name
:
Install numpy
run
:
python -m pip install numpy
-
name
:
Install tests requirements
run
:
python -m pip install -r pyfastani/tests/requirements.txt
-
name
:
Test with coverage
...
...
This diff is collapsed.
Click to expand it.
pyfastani/omp.h
0 → 100644
+
4
−
0
View file @
fe75f7ca
/* 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
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment