Skip to content

Commit

Permalink
build-system: also search for blas/lapack in <libdir>/atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
strohel committed Oct 2, 2011
1 parent 567c7a1 commit 71c83d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support/dist_cmd_build_prepare.py
Expand Up @@ -9,6 +9,7 @@
from distutils.cmd import Command
from distutils.errors import DistutilsSetupError
import distutils.log as log
from distutils.sysconfig import get_config_var
from glob import glob
import os
import string
Expand Down Expand Up @@ -58,6 +59,7 @@ def run(self):
'tokyo', # module name
['tokyo/tokyo.pyx', 'tokyo/tokyo.pxd'], # source file and deps
libraries=['cblas', 'lapack'],
library_dirs=[os.path.join(get_config_var('LIBDIR'), 'atlas')],
**self.ext_options
))
self.package_data['tokyo'] = '*.pxd'
Expand Down

0 comments on commit 71c83d7

Please sign in to comment.