We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd3ba5b + c654b94 commit 9002001Copy full SHA for 9002001
setup.py
@@ -3,6 +3,9 @@
3
from numpy.distutils.core import setup, Extension
4
import os, sys
5
import numpy
6
+from numpy.distutils.system_info import get_info
7
+
8
+lapack_opt = get_info('lapack_opt')
9
10
extra_flags_c = []
11
extra_link_args_c = []
@@ -48,7 +51,6 @@
48
51
49
52
50
53
-LIBRARIES = ["lapack", "blas"]
54
EXTRA_F90_FLAGS = ["-cpp", "-fopenmp"]
55
EXTRA_LINK_ARGS = ["-fopenmp"]
56
@@ -70,9 +72,9 @@
70
72
"SCHAModules/get_cmat.f90",
71
73
"SCHAModules/get_v4.f90",
74
"SCHAModules/get_odd_straight_with_v4.f90"],
- libraries = LIBRARIES,
75
extra_f90_compile_args = EXTRA_F90_FLAGS,
- extra_link_args= EXTRA_LINK_ARGS)
76
+ extra_link_args= EXTRA_LINK_ARGS,
77
+ **lapack_opt)
78
79
80
0 commit comments