Skip to content

Commit

Permalink
BLD: fix build issues for _faddeeva extension in scipy.special
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Oct 6, 2012
1 parent e80cb04 commit 121f4f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions scipy/special/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ build_lib('cephes', '.c', 'sc_cephes')
# F libraries
# XXX: handle no opt flags for mach
build_lib('mach', '.f', 'sc_mach')
build_lib('toms', '.f', 'sc_toms')
build_lib('amos', '.f', 'sc_amos')
build_lib('cdflib', '.f', 'sc_cdf')
build_lib('specfun', '.f', 'sc_specfunlib')
Expand All @@ -95,18 +94,18 @@ env.NumpyPythonExtension('_logit', source = logit_src)

# faddeeva extension
env.NumpyPythonExtension('_faddeeva', source=['_faddeeva.cxx',
'_faddeeva_w.cxx'])
'faddeeva_w.cxx'])

# lambertw extension
env.NumpyPythonExtension('lambertw', source = 'lambertw.c')

# Cephes extension
src = ['_cephesmodule.c', 'amos_wrappers.c', 'specfun_wrappers.c', \
'toms_wrappers.c','cdf_wrappers.c','ufunc_extras.c']
'cdf_wrappers.c','ufunc_extras.c']

env.NumpyPythonExtension('_cephes',
source = src,
LIBS = ['sc_amos', 'sc_toms', 'sc_c_misc', 'sc_cephes', 'sc_mach',\
LIBS = ['sc_amos', 'sc_c_misc', 'sc_cephes', 'sc_mach',\
'sc_cdf', 'sc_specfunlib'])

# Specfun extension
Expand Down
1 change: 0 additions & 1 deletion scipy/special/_cephesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "abstract.h"
#include "cephes.h"
#include "amos_wrappers.h"
#include "faddeeva_w.h"
#include "cdf_wrappers.h"
#include "specfun_wrappers.h"
#include "c_misc/misc.h"
Expand Down

0 comments on commit 121f4f5

Please sign in to comment.