forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: adding odr and weave to bento build.
- Loading branch information
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
HookFile: bscript | ||
|
||
Library: | ||
CompiledLibrary: odrpack: | ||
Sources: odrpack/d_odr.f, odrpack/d_mprec.f, odrpack/dlunoc.f, odrpack/d_lpk.f | ||
Extension: __odrpack | ||
Sources: __odrpack.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from bento.commands import hooks | ||
|
||
@hooks.pre_build | ||
def pre_build(context): | ||
def builder(extension): | ||
return context.default_builder(extension, | ||
features="c fc pyext bento cshlib", | ||
use="odrpack FBLAS CLIB") | ||
context.register_builder("__odrpack", builder) |