Created
April 7, 2022 14:22
-
-
Save tfmoraes/6545576f449109bccd79d18f290c866b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index 9f69c998..2b923001 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -12,8 +12,8 @@ from Cython.Build import cythonize | |
from Cython.Distutils import build_ext | |
if sys.platform == "darwin": | |
- unix_copt = ["-Xpreprocessor", "-fopenmp", "-lomp"] | |
- unix_lopt = ["-Xpreprocessor", "-fopenmp", "-lomp"] | |
+ unix_copt = ["-Xpreprocessor", "-fopenmp=libomp", "-lomp"] | |
+ unix_lopt = ["-Xpreprocessor", "-fopenmp=libomp", "-lomp"] | |
else: | |
unix_copt = [ | |
"-fopenmp", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment