diff options
author | h-denpo <57649496+h-denpo@users.noreply.github.com> | 2021-02-19 17:29:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 08:29:33 +0000 |
commit | e772291df1956c7cc0bd2000097d2dd54ec8f12d (patch) | |
tree | 131a63603c76ec602149a3b53632fae5baaacd46 | |
parent | 310e82c8636e104a184eafcd471ed751fa533158 (diff) | |
download | spack-e772291df1956c7cc0bd2000097d2dd54ec8f12d.tar.gz spack-e772291df1956c7cc0bd2000097d2dd54ec8f12d.tar.bz2 spack-e772291df1956c7cc0bd2000097d2dd54ec8f12d.tar.xz spack-e772291df1956c7cc0bd2000097d2dd54ec8f12d.zip |
blast2go: conflicts for platforms other than x86_64 (#21693)
-rw-r--r-- | var/spack/repos/builtin/packages/blast2go/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/blast2go/package.py b/var/spack/repos/builtin/packages/blast2go/package.py index 60cb036a38..bd474f5141 100644 --- a/var/spack/repos/builtin/packages/blast2go/package.py +++ b/var/spack/repos/builtin/packages/blast2go/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +import archspec class Blast2go(Package): @@ -14,6 +15,10 @@ class Blast2go(Package): version('5.2.5', sha256='c37aeda25f96ac0553b52da6b5af3167d50671ddbfb3b39bcb11afe5d0643891') + for t in set([str(x.family) for x in archspec.cpu.TARGETS.values() + if str(x.family) != 'x86_64']): + conflicts('target={0}:'.format(t), msg='blast2go is available x86_64 only') + depends_on('bash', type='build') depends_on('blast-plus', type='run') depends_on('java', type='build') |