Skip to content

Commit cd04b87

Browse files
committed
Don't check OpenMP issue for emscripten Python
1 parent 5af471e commit cd04b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galpy/util/_load_extension_libs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _detect_openmp_issue():
6161
_checked_openmp_issue = True
6262

6363

64-
def load_libgalpy(check_openmp_issue=True):
64+
def load_libgalpy(check_openmp_issue=sys.platform != "emscripten"):
6565
global _libgalpy
6666
global _libgalpy_loaded
6767
if _libgalpy_loaded is False or not _libgalpy is None:

0 commit comments

Comments
 (0)