Got rid of the compiler strategy from target
This commit is contained in:
parent
47c8e1366f
commit
90e90f61c1
4 changed files with 7 additions and 7 deletions
|
@ -9,8 +9,8 @@ class Bgq(Platform):
|
|||
|
||||
def __init__(self):
|
||||
super(Bgq, self).__init__('bgq')
|
||||
self.add_target(self.front_end, Target(self.front_end, 'PATH'))
|
||||
self.add_target(self.back_end, Target(self.back_end, 'PATH'))
|
||||
self.add_target(self.front_end, Target(self.front_end))
|
||||
self.add_target(self.back_end, Target(self.back_end,))
|
||||
|
||||
@classmethod
|
||||
def detect(self):
|
||||
|
|
|
@ -31,11 +31,11 @@ def __init__(self):
|
|||
|
||||
# Could switch to use modules and fe targets for front end
|
||||
# Currently using compilers by path for front end.
|
||||
self.add_target('sandybridge', Target('sandybridge', 'PATH'))
|
||||
self.add_target('sandybridge', Target('sandybridge'))
|
||||
self.add_target('ivybridge',
|
||||
Target('ivybridge', 'MODULES', 'craype-ivybridge'))
|
||||
Target('ivybridge', 'craype-ivybridge'))
|
||||
self.add_target('haswell',
|
||||
Target('haswell', 'MODULES', 'craype-haswell'))
|
||||
Target('haswell','craype-haswell'))
|
||||
|
||||
self.add_operating_system('SuSE', LinuxDistro())
|
||||
self.add_operating_system('CNL', Cnl())
|
||||
|
|
|
@ -10,7 +10,7 @@ class Darwin(Platform):
|
|||
|
||||
def __init__(self):
|
||||
super(Darwin, self).__init__('darwin')
|
||||
self.add_target(self.default, Target(self.default, 'PATH'))
|
||||
self.add_target(self.default, Target(self.default))
|
||||
mac_os = MacOsx()
|
||||
self.default_os = mac_os.name
|
||||
self.add_operating_system(mac_os.name, mac_os)
|
||||
|
|
|
@ -10,7 +10,7 @@ class Linux(Platform):
|
|||
|
||||
def __init__(self):
|
||||
super(Linux, self).__init__('linux')
|
||||
self.add_target(self.default, Target(self.default, 'PATH'))
|
||||
self.add_target(self.default, Target(self.default))
|
||||
linux_dist = LinuxDistro()
|
||||
self.default_os = linux_dist.name
|
||||
self.add_operating_system(linux_dist.name, linux_dist)
|
||||
|
|
Loading…
Reference in a new issue