diff options
| author | David Cournapeau <cournape@gmail.com> | 2008-09-21 11:54:48 +0000 |
|---|---|---|
| committer | David Cournapeau <cournape@gmail.com> | 2008-09-21 11:54:48 +0000 |
| commit | 9536dc2b153b9204349c05dcd83da3cd72bc22af (patch) | |
| tree | 40711aecbe288edbc2e52887ee1e3bc50be68b49 /numpy | |
| parent | 6584cd2db2a6dd5e249e3a97ca448c945fe71e2d (diff) | |
| download | numpy-9536dc2b153b9204349c05dcd83da3cd72bc22af.tar.gz | |
Do not use MSVC workaround anymore, since we now can test for function even when they are intrinsincs.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/setup.py | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 77027bc11..9e3847cbf 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -63,20 +63,12 @@ def check_math_capabilities(config, moredefs, mathlibs): def name_to_defsymb(name): return "HAVE_%s" % name.upper() - use_msvc = config.check_decl("_MSC_VER") + #use_msvc = config.check_decl("_MSC_VER") # Mandatory functions: if not found, fail the build - if use_msvc: - # MSVC use intrisincs functions when build with e.g. /Ox, and this - # breaks tests. Fixing the tests is not trivial, so we assume the - # intrisincs functions are available. - # Functions which have intrisinces: sin, cos, tan, sin, cosh, tanh, - # fabs, sqrt, log10, log, exp, asin, acos, atan, fmod - mandatory_funcs = ['modf', 'frexp', 'ldexp'] - else: - mandatory_funcs = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", - "floor", "ceil", "sqrt", "log10", "log", "exp", "asin", - "acos", "atan", "fmod", 'modf', 'frexp', 'ldexp'] + mandatory_funcs = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", + "floor", "ceil", "sqrt", "log10", "log", "exp", "asin", + "acos", "atan", "fmod", 'modf', 'frexp', 'ldexp'] if not check_funcs_once(mandatory_funcs): raise SystemError("One of the required function to build numpy is not" |
