diff options
author | Gregory Becker <becker33@llnl.gov> | 2015-09-25 09:25:12 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2015-11-10 15:45:22 -0800 |
commit | db1b21b9aa1bd28ef706f38e982966f7a01f6aca (patch) | |
tree | cd66cae73c0607287eb62c5d673cd247ebaf0a8b /var | |
parent | 7989a7f903da149d81f8e6370a9ef8a4f64c45a8 (diff) | |
download | spack-db1b21b9aa1bd28ef706f38e982966f7a01f6aca.tar.gz spack-db1b21b9aa1bd28ef706f38e982966f7a01f6aca.tar.bz2 spack-db1b21b9aa1bd28ef706f38e982966f7a01f6aca.tar.xz spack-db1b21b9aa1bd28ef706f38e982966f7a01f6aca.zip |
reclaimed the = sign. Architectures now specified by +arch= instead. Decided to prepend flag names with + for clarity in spec names and ease of parsing. Also generalized variants, although there is not yet a way to specify a generalized (name=value) variant.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/mock_packages/multimethod/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/mock_packages/multimethod/package.py b/var/spack/mock_packages/multimethod/package.py index 75b1606ffc..dc8dfc9cfb 100644 --- a/var/spack/mock_packages/multimethod/package.py +++ b/var/spack/mock_packages/multimethod/package.py @@ -103,19 +103,19 @@ class Multimethod(Package): # # Make sure we can switch methods on different architectures # - @when('=x86_64') + @when('+arch=x86_64') def different_by_architecture(self): return 'x86_64' - @when('=ppc64') + @when('+arch=ppc64') def different_by_architecture(self): return 'ppc64' - @when('=ppc32') + @when('+arch=ppc32') def different_by_architecture(self): return 'ppc32' - @when('=arm64') + @when('+arch=arm64') def different_by_architecture(self): return 'arm64' |