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.
This commit is contained in:

committed by
Todd Gamblin

parent
3c4322bf1a
commit
7daf860991
@@ -30,8 +30,7 @@ class Fasta(MakefilePackage):
|
||||
def makefile_name(self):
|
||||
if self.spec.satisfies('platform=darwin'):
|
||||
name = 'Makefile.os_x86_64'
|
||||
elif (self.spec.satisfies('platform=linux') and
|
||||
self.spec.satisfies('target=x86_64')):
|
||||
elif self.spec.satisfies('platform=linux target=x86_64:'):
|
||||
name = 'Makefile.linux64_sse2'
|
||||
else:
|
||||
tty.die('''Unsupported platform/target, must be
|
||||
|
Reference in New Issue
Block a user