Mercurial > hg > vamp-aubio-plugins
comparison wscript @ 158:4b5c9e2d11c7
wscript: add optional cblas on linux
author | Paul Brossier <piem@piem.org> |
---|---|
date | Sun, 24 Jul 2016 11:34:59 +0200 |
parents | 0ca3b0a99916 |
children | 5e944736a8ed |
comparison
equal
deleted
inserted
replaced
157:891a8bb7eb56 | 158:4b5c9e2d11c7 |
---|---|
31 if sys.platform.startswith('linux'): | 31 if sys.platform.startswith('linux'): |
32 if platform.machine() == 'x86_64': | 32 if platform.machine() == 'x86_64': |
33 local_vamp_lib = local_vamp_lib_amd64 | 33 local_vamp_lib = local_vamp_lib_amd64 |
34 elif platform.machine() == 'x86_64': | 34 elif platform.machine() == 'x86_64': |
35 local_vamp_lib = local_vamp_lib_i686 | 35 local_vamp_lib = local_vamp_lib_i686 |
36 conf.check(lib='cblas', uselib_store='CBLAS', mandatory=False) | |
36 elif sys.platform == 'darwin': | 37 elif sys.platform == 'darwin': |
37 local_vamp_lib = local_vamp_lib_osx | 38 local_vamp_lib = local_vamp_lib_osx |
38 elif sys.platform == 'win32': | 39 elif sys.platform == 'win32': |
39 local_vamp_lib = local_vamp_lib_win32 | 40 local_vamp_lib = local_vamp_lib_win32 |
40 local_vamp_stlib = 'VampPluginSDK.lib' | 41 local_vamp_stlib = 'VampPluginSDK.lib' |
99 | 100 |
100 bld.program(source = plugin_sources, | 101 bld.program(source = plugin_sources, |
101 includes = '.', | 102 includes = '.', |
102 target = 'vamp-aubio', | 103 target = 'vamp-aubio', |
103 name = 'vamp-aubio', | 104 name = 'vamp-aubio', |
104 use = ['VAMP', 'AUBIO'], | 105 use = ['VAMP', 'AUBIO', 'CBLAS'], |
105 features = 'cxx cxxshlib', | 106 features = 'cxx cxxshlib', |
106 install_path = install_path | 107 install_path = install_path |
107 ) | 108 ) |
108 | 109 |
109 if install_path: | 110 if install_path: |