Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BLD: make updated L-BFGS-B build with numscons and Bento.

  • Loading branch information...
commit e1c879482ca228615d1511e70451fef05aa99b27 1 parent 8da2f88
@rgommers rgommers authored
View
3  scipy/optimize/SConscript
@@ -62,7 +62,8 @@ env.NumpyPythonExtension('_minpack', '_minpackmodule.c')
env.NumpyPythonExtension('_zeros', 'zeros.c')
# _lbfgsb pyextension
-src = [pjoin('lbfgsb', i) for i in ['lbfgsb.pyf', 'routines.f']]
+src = [pjoin('lbfgsb', i) for i in ['lbfgsb.pyf', 'lbfgsb.f',
+ 'linpack.f', 'timer.f']]
env.NumpyPythonExtension('_lbfgsb', source = src)
# _cobyla pyextension
View
5 scipy/optimize/bento.info
@@ -15,7 +15,10 @@ Library:
Extension: _zeros
Sources: zeros.c
Extension: _lbfgsb
- Sources: lbfgsb/lbfgsb.pyf, lbfgsb/routines.f
+ Sources: lbfgsb/lbfgsb.pyf,
+ lbfgsb/lbfgsb.f,
+ lbfgsb/linpack.f,
+ lbfgsb/timer.f
Extension: _cobyla
Sources:
cobyla/cobyla2.f,
View
2  scipy/optimize/setup.py
@@ -22,7 +22,7 @@ def configuration(parent_package='',top_path=None):
libraries=['rootfind'])
lapack = get_info('lapack_opt')
- sources=['lbfgsb.pyf','lbfgsb.f', 'linpack.f', 'timer.f']
+ sources=['lbfgsb.pyf', 'lbfgsb.f', 'linpack.f', 'timer.f']
config.add_extension('_lbfgsb',
sources=[join('lbfgsb',x) for x in sources],
**lapack)
Please sign in to comment.
Something went wrong with that request. Please try again.