Skip to content

Commit

Permalink
Don't check OpenMP issue for emscripten Python
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Jul 16, 2024
1 parent 5af471e commit 3ad4aae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion galpy/util/_load_extension_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
_libgalpy_actionAngleTorus = None
_libgalpy_actionAngleTorus_loaded = None

_checked_openmp_issue = False
# hack to avoid checking for OpenMP issue on emscripten:
# pretend we checked it and it's not an issue
_checked_openmp_issue = sys.platform == "emscripten"


def _detect_openmp_issue():
Expand Down

0 comments on commit 3ad4aae

Please sign in to comment.