diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-02-11 18:57:40 +0100 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-02-11 18:57:40 +0100 |
commit | e8704433debe35d7893c0c20672d06973226c4e8 (patch) | |
tree | 2904b3dee6285d00462b1566b92afd6871baf1e6 | |
parent | b272a8881becf205c09ac11228dd035b99fa0fcd (diff) | |
download | spack-e8704433debe35d7893c0c20672d06973226c4e8.tar.gz spack-e8704433debe35d7893c0c20672d06973226c4e8.tar.bz2 spack-e8704433debe35d7893c0c20672d06973226c4e8.tar.xz spack-e8704433debe35d7893c0c20672d06973226c4e8.zip |
espresso : added directories to search path
-rw-r--r-- | var/spack/repos/builtin/packages/espresso/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/espresso/package.py b/var/spack/repos/builtin/packages/espresso/package.py index df37bb0d71..f85257b3cc 100644 --- a/var/spack/repos/builtin/packages/espresso/package.py +++ b/var/spack/repos/builtin/packages/espresso/package.py @@ -47,6 +47,14 @@ class Espresso(Package): if '+elpa' in spec: options.append('--with-elpa=%s' % spec['elpa'].prefix) + # Add a list of directories to search + search_list = [] + for name, dependency_spec in spec.dependencies.iteritems(): + print name + search_list.extend([dependency_spec.prefix.lib, + dependency_spec.prefix.lib64]) + search_list = " ".join(search_list) + options.append('LIBDIRS=%s' % search_list) configure(*options) make('all') make('install') |