Skip to content

Commit dc79109

Browse files
author
Dag Sverre Seljebotn
committed
Add -fopenmp flag for linking Python extension
1 parent f48a0bd commit dc79109

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

python/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
["libsharp/libsharp.pyx"],
7171
libraries=["sharp", "fftpack", "c_utils"],
7272
include_dirs=[libsharp_include],
73-
library_dirs=[libsharp_lib]
74-
),
73+
library_dirs=[libsharp_lib],
74+
extra_link_args=["-fopenmp"],
75+
)
7576
],
7677
)

0 commit comments

Comments
 (0)