Skip to content

Instantly share code, notes, and snippets.

@tfmoraes
Created April 7, 2022 14:22
Show Gist options
  • Save tfmoraes/6545576f449109bccd79d18f290c866b to your computer and use it in GitHub Desktop.
Save tfmoraes/6545576f449109bccd79d18f290c866b to your computer and use it in GitHub Desktop.
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