本文整理匯總了Python中easybuild.tools.toolchain.toolchain.Toolchain類的典型用法代碼示例。如果您正苦於以下問題:Python Toolchain類的具體用法?Python Toolchain怎麽用?Python Toolchain使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了Toolchain類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
def __init__(self, *args, **kwargs):
"""Compiler constructor."""
Toolchain.base_init(self)
self.arch = None
# list of compiler prefixes
self.prefixes = []
super(Compiler, self).__init__(*args, **kwargs)
示例2: __init__
def __init__(self, *args, **kwargs):
"""Compiler constructor."""
Toolchain.base_init(self)
self.arch = systemtools.get_cpu_architecture()
self.cpu_family = systemtools.get_cpu_family()
# list of compiler prefixes
self.prefixes = []
super(Compiler, self).__init__(*args, **kwargs)
示例3: __init__
def __init__(self, *args, **kwargs):
Toolchain.base_init(self)
self.arch = None
self._set_compiler_toolchainoptions()
self.log.debug('_compiler_init: compiler toolchainoptions %s' % self.options)
super(Compiler, self).__init__(*args, **kwargs)
示例4: __init__
def __init__(self, *args, **kwargs):
Toolchain.base_init(self)
super(LinAlg, self).__init__(*args, **kwargs)
示例5: __init__
def __init__(self, *args, **kwargs):
Toolchain.base_init(self)
self._set_mpi_options()
super(Mpi, self).__init__(*args, **kwargs)