diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-09-17 18:41:18 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-20 00:51:37 -0700 |
commit | 7daf8609914d929bbce7cfe8e17e40fc4ae1e01a (patch) | |
tree | 081b48178965ba8e60f40e719af53a93843863bf /var/spack/repos/builtin/packages/cudnn/package.py | |
parent | 3c4322bf1abb7af691179434652188b64e90e4dc (diff) | |
download | spack-7daf8609914d929bbce7cfe8e17e40fc4ae1e01a.tar.gz spack-7daf8609914d929bbce7cfe8e17e40fc4ae1e01a.tar.bz2 spack-7daf8609914d929bbce7cfe8e17e40fc4ae1e01a.tar.xz spack-7daf8609914d929bbce7cfe8e17e40fc4ae1e01a.zip |
targets: adjust packages to use new specific targets semantics
Seamless translation from 'target=<generic>' to either
- target.family == <generic> (in methods)
- 'target=<generic>:' (in directives)
Also updated docs to show ranges in directives.
Diffstat (limited to 'var/spack/repos/builtin/packages/cudnn/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/cudnn/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cudnn/package.py b/var/spack/repos/builtin/packages/cudnn/package.py index 35959637cf..8bb374aea4 100644 --- a/var/spack/repos/builtin/packages/cudnn/package.py +++ b/var/spack/repos/builtin/packages/cudnn/package.py @@ -46,7 +46,7 @@ class Cudnn(Package): def install(self, spec, prefix): install_tree('.', prefix) - if 'target=ppc64le platform=linux' in spec: + if 'target=ppc64le: platform=linux' in spec: symlink(os.path.join(prefix, 'targets', 'ppc64le-linux', 'lib'), prefix.lib) symlink( |