easybuild.toolchains.compiler.gcc module¶
Support for GCC (GNU Compiler Collection) as toolchain compiler.
Authors:
- Stijn De Weirdt (Ghent University)
- Kenneth Hoste (Ghent University)
-
class
easybuild.toolchains.compiler.gcc.Gcc(*args, **kwargs)¶ Bases:
easybuild.tools.toolchain.compiler.CompilerGCC compiler class
-
COMPILER_CC= 'gcc'¶
-
COMPILER_CXX= 'g++'¶
-
COMPILER_C_UNIQUE_FLAGS= []¶
-
COMPILER_F77= 'gfortran'¶
-
COMPILER_F90= 'gfortran'¶
-
COMPILER_FAMILY= 'GCC'¶
-
COMPILER_FC= 'gfortran'¶
-
COMPILER_F_UNIQUE_FLAGS= ['f2c']¶
-
COMPILER_GENERIC_OPTION= {('AArch32', 'ARM'): 'mcpu=generic-armv7', ('AArch64', 'ARM'): 'mcpu=generic', ('POWER', 'POWER'): 'mcpu=powerpc64', ('POWER', 'POWER little-endian'): 'mcpu=powerpc64le', ('x86_64', 'AMD'): 'march=x86-64 -mtune=generic', ('x86_64', 'Intel'): 'march=x86-64 -mtune=generic'}¶
-
COMPILER_MODULE_NAME= ['GCC']¶
-
COMPILER_OPTIMAL_ARCHITECTURE_OPTION= {('AArch32', 'ARM'): 'mcpu=native', ('AArch64', 'ARM'): 'mcpu=native', ('POWER', 'POWER'): 'mcpu=native', ('POWER', 'POWER little-endian'): 'mcpu=native', ('x86_64', 'AMD'): 'march=native', ('x86_64', 'Intel'): 'march=native'}¶
-
COMPILER_UNIQUE_OPTION_MAP= {'defaultopt': ['O2', 'ftree-vectorize'], 'defaultprec': ['fno-math-errno'], 'f2c': 'ff2c', 'i8': 'fdefault-integer-8', 'ieee': ['mieee-fp', 'fno-trapping-math'], 'loop': ['ftree-switch-conversion', 'floop-interchange', 'floop-strip-mine', 'floop-block'], 'loose': ['fno-math-errno', 'mrecip', 'mno-ieee-fp'], 'lto': 'flto', 'precise': ['mno-recip'], 'r8': ['fdefault-real-8', 'fdefault-double-8'], 'strict': ['mieee-fp', 'mno-recip'], 'unroll': 'funroll-loops', 'vectorize': {False: 'fno-tree-vectorize', True: 'ftree-vectorize'}, 'veryloose': ['fno-math-errno', 'mrecip=all', 'mno-ieee-fp']}¶
-
COMPILER_UNIQUE_OPTS= {'f2c': (False, 'Generate code compatible with f2c and f77'), 'loop': (False, 'Automatic loop parallellisation'), 'lto': (False, 'Enable Link Time Optimization')}¶
-
LIB_MATH= ['m']¶
-
LIB_MULTITHREAD= ['pthread']¶
-