Skip to content

Commit

Permalink
BUG: build _dotblas as callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Aug 28, 2011
1 parent 75fedf0 commit 37396fc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions numpy/core/bscript
Original file line number Diff line number Diff line change
@@ -442,11 +442,12 @@ def pbuild(context):
use="npymath")
context.register_builder("multiarray_tests", build_multiarray_tests)

if bld.env.HAS_CBLAS:
bld(features="c cshlib pyext",
target="_dotblas",
source="blasdot/_dotblas.c",
includes="src/private",
use="CBLAS")
def build_dotblas(bld, extension):
if bld.env.HAS_CBLAS:
bld(features="c cshlib pyext",
target=extension.name,
source=extension.sources,
use="CBLAS")
context.register_builder("_dotblas", build_dotblas)

bld.path = old_path

0 comments on commit 37396fc

Please sign in to comment.