blast2go: conflicts for platforms other than x86_64 (#21693)
This commit is contained in:
parent
310e82c863
commit
e772291df1
@ -4,6 +4,7 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
|
import archspec
|
||||||
|
|
||||||
|
|
||||||
class Blast2go(Package):
|
class Blast2go(Package):
|
||||||
@ -14,6 +15,10 @@ class Blast2go(Package):
|
|||||||
|
|
||||||
version('5.2.5', sha256='c37aeda25f96ac0553b52da6b5af3167d50671ddbfb3b39bcb11afe5d0643891')
|
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('bash', type='build')
|
||||||
depends_on('blast-plus', type='run')
|
depends_on('blast-plus', type='run')
|
||||||
depends_on('java', type='build')
|
depends_on('java', type='build')
|
||||||
|
Loading…
Reference in New Issue
Block a user