changeset 158:4b5c9e2d11c7

wscript: add optional cblas on linux
author Paul Brossier <piem@piem.org>
date Sun, 24 Jul 2016 11:34:59 +0200
parents 891a8bb7eb56
children 07e8ee33c810
files wscript
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wscript	Fri Jul 22 18:52:56 2016 +0200
+++ b/wscript	Sun Jul 24 11:34:59 2016 +0200
@@ -33,6 +33,7 @@
             local_vamp_lib = local_vamp_lib_amd64
         elif platform.machine() == 'x86_64':
             local_vamp_lib = local_vamp_lib_i686
+        conf.check(lib='cblas', uselib_store='CBLAS', mandatory=False)
     elif sys.platform == 'darwin':
         local_vamp_lib = local_vamp_lib_osx
     elif sys.platform == 'win32':
@@ -101,7 +102,7 @@
                includes = '.',
                target = 'vamp-aubio',
                name = 'vamp-aubio',
-               use = ['VAMP', 'AUBIO'],
+               use = ['VAMP', 'AUBIO', 'CBLAS'],
                features = 'cxx cxxshlib',
                install_path = install_path
                )