diff options
author | 2011-06-15 02:56:22 +0200 | |
---|---|---|
committer | 2011-06-15 02:56:22 +0200 | |
commit | 51b442c2fa96111016b8680319163b781cd56aac (patch) | |
tree | 8be3e322cbb9e927f7faaf11ae7b882c0afef240 /cblas.py | |
parent | Some bugs solved. (diff) | |
download | auto-numerical-bench-51b442c2fa96111016b8680319163b781cd56aac.tar.gz auto-numerical-bench-51b442c2fa96111016b8680319163b781cd56aac.tar.bz2 auto-numerical-bench-51b442c2fa96111016b8680319163b781cd56aac.zip |
Work on BTL LAPACK interface and test suite.
Diffstat (limited to 'cblas.py')
-rw-r--r-- | cblas.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,8 +4,11 @@ import subprocess as sp class Module(blasbase.ModuleBase): @staticmethod def get_impls(root): - return [i for i in os.listdir(root + "/etc/env.d/alternatives/cblas") \ - if i[0] != '_'] + output = sp.Popen( + ['eselect', '--no-color', '--brief', 'cblas', 'list'], + env={'ROOT' : root}, stdout=sp.PIPE + ).communicate()[0] + return output.strip().split('\n') def _get_flags(self, root, impl, libdir): # Retrieve pkgconfig settings and map the directories to the new root |