Skip to content

Commit

Permalink
BLD: fix Bento build
Browse files Browse the repository at this point in the history
flapack no longer needs interface_gen
  • Loading branch information
pv committed Feb 5, 2012
1 parent cfd839d commit 6907a2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bscript
Expand Up @@ -57,13 +57,13 @@ def c_template(self, node):
if "fc" in self.features:
self.source.append(output)
else:
raise ValueError("FTemplateTask without feature 'fc' ?")
raise ValueError("FTemplateTask without feature 'fc': %r" % node)
elif ext in ["c"]:
tsk = self.create_task('CTemplateTask', node, output)
if "c" in self.features:
self.source.append(output)
else:
raise ValueError("FTemplateTask without feature 'c' ?")
raise ValueError("CTemplateTask without feature 'c': %r" % node)
else:
raise ValueError("Unknown extension in templating: %r" % ext)

Expand Down
2 changes: 1 addition & 1 deletion scipy/fftpack/bento.info
Expand Up @@ -14,7 +14,7 @@ Library:
src/zrfft.c,
src/zfftnd.c,
fftpack.pyf,
src/dct.c.src
src/dct.c.src,
src/dst.c.src
Extension: convolve
Sources:
Expand Down
3 changes: 1 addition & 2 deletions scipy/linalg/bscript
Expand Up @@ -29,9 +29,8 @@ def pre_build(context):

def builder(extension):
t = default_builder(extension,
features="c pyext bento cshlib f2py",
features="c fc pyext bento cshlib f2py",
use="FLAPACK")
t.mappings[".pyf"] = f2py.interface_gen_callback
return t
context.register_builder("flapack", builder)

Expand Down

0 comments on commit 6907a2b

Please sign in to comment.