Changed add_target to include variables rather than hard-coded strings
This commit is contained in:
parent
8f56f5cfcc
commit
89fbe4fdfa
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ class Bgq(Architecture):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(Bgq, self).__init__('cray')
|
super(Bgq, self).__init__('cray')
|
||||||
self.add_target('power7', Target('power7'))
|
self.add_target(self.front_end, Target(self.front_end))
|
||||||
self.add_target('powerpc', Target('powerpc'))
|
self.add_target(self.back_end, Target(self.back_end))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def detect(self):
|
def detect(self):
|
||||||
|
|
Loading…
Reference in a new issue