Exemplo n.º 1
0
def configure(conf):
    conf.find_ifort()
    conf.find_program('xiar', var='AR')
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.ifort_modifier_platform()
Exemplo n.º 2
0
def configure(conf):
    conf.find_pgi_compiler("CXX", "pgCC")
    conf.find_ar()
    conf.gxx_common_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 3
0
def configure(conf):
	conf.find_pgi_compiler('CC', 'pgcc')
	conf.find_ar()
	conf.gcc_common_flags()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 4
0
def configure(conf):
    conf.find_xlf()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.xlf_flags()
    conf.xlf_modifier_platform()
Exemplo n.º 5
0
def configure(conf):
	conf.find_solstudio()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.solstudio_flags()
	conf.solstudio_modifier_platform()
Exemplo n.º 6
0
def configure(conf):
    conf.find_generic_cc()
    conf.find_ar()
    conf.generic_cc_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
def configure(conf):
	conf.find_pgi_compiler('CXX', 'pgCC')
	conf.find_ar()
	conf.gxx_common_flags()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 8
0
def configure(conf):
    conf.find_nag()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.nag_flags()
    conf.nag_modifier_platform()
Exemplo n.º 9
0
def configure(conf):
    conf.find_xlc()
    conf.find_ar()
    conf.xlc_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 10
0
def configure(conf):
    conf.find_sxx()
    conf.find_ar()
    conf.sxx_common_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 11
0
Arquivo: xlcxx.py Projeto: jrossi/waf
def configure(conf):
	conf.find_xlcxx()
	conf.find_ar()
	conf.xlcxx_common_flags()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 12
0
def configure(conf):
	conf.find_nag()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.nag_flags()
	conf.nag_modifier_platform()
Exemplo n.º 13
0
Arquivo: ifort.py Projeto: benzeng/waf
def configure(conf):
	conf.find_ifort()
	conf.find_program('xiar', var='AR')
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.ifort_modifier_platform()
Exemplo n.º 14
0
def configure(conf):
    conf.find_gfortran()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.gfortran_flags()
    conf.gfortran_modifier_platform()
Exemplo n.º 15
0
def configure(conf):
    conf.find_pgi_compiler('CXX', 'pgCC')
    conf.find_ar()
    conf.gxx_common_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 16
0
def configure(conf):
	conf.find_gfortran()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.gfortran_flags()
	conf.gfortran_modifier_platform()
Exemplo n.º 17
0
def configure(conf):
	conf.find_xlf()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.xlf_flags()
	conf.xlf_modifier_platform()
Exemplo n.º 18
0
def configure(conf):
	conf.find_bgxlf()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.xlf_flags()
	conf.bg_flags()
Exemplo n.º 19
0
def configure(conf):
    """
	Detects the Intel Fortran compilers
	"""
    if Utils.is_win32:
        compiler, version, path, includes, libdirs, arch = conf.detect_ifort()
        v = conf.env
        v.DEST_CPU = arch
        v.PATH = path
        v.INCLUDES = includes
        v.LIBPATH = libdirs
        v.MSVC_COMPILER = compiler
        try:
            v.MSVC_VERSION = float(version)
        except ValueError:
            v.MSVC_VERSION = float(version[:-3])

        conf.find_ifort_win32()
        conf.ifort_modifier_win32()
    else:
        conf.find_ifort()
        conf.find_program('xiar', var='AR')
        conf.find_ar()
        conf.fc_flags()
        conf.fc_add_flags()
        conf.ifort_modifier_platform()
def configure(conf):
    conf.find_solstudio()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.solstudio_flags()
    conf.solstudio_modifier_platform()
Exemplo n.º 21
0
def configure(conf):
	conf.find_scc()
	conf.find_ar()
	conf.scc_common_flags()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 22
0
def configure(conf):
    conf.find_pgi_compiler('CC', 'pgcc')
    conf.find_ar()
    conf.gcc_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 23
0
def configure(conf):
	"""
	Detects the Intel Fortran compilers
	"""
	if Utils.is_win32:
		compiler, version, path, includes, libdirs, arch = conf.detect_ifort()
		v = conf.env
		v.DEST_CPU = arch
		v.PATH = path
		v.INCLUDES = includes
		v.LIBPATH = libdirs
		v.MSVC_COMPILER = compiler
		try:
			v.MSVC_VERSION = float(version)
		except ValueError:
			v.MSVC_VERSION = float(version[:-3])

		conf.find_ifort_win32()
		conf.ifort_modifier_win32()
	else:
		conf.find_ifort()
		conf.find_program('xiar', var='AR')
		conf.find_ar()
		conf.fc_flags()
		conf.fc_add_flags()
		conf.ifort_modifier_platform()
Exemplo n.º 24
0
def configure(conf):
    conf.find_pgi_compiler("CC", "pgcc")
    conf.find_ar()
    conf.gcc_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 25
0
def configure(conf):
	conf.find_bgxlf()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.xlf_flags()
	conf.bg_flags()
Exemplo n.º 26
0
def configure(conf):
	conf.find_openf95()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.openf95_flags()
	conf.openf95_modifier_platform()
Exemplo n.º 27
0
Arquivo: g95.py Projeto: afeldman/waf
def configure(conf):
    conf.find_g95()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.g95_flags()
    conf.g95_modifier_platform()
Exemplo n.º 28
0
def configure(conf):
    conf.find_gcc()
    conf.find_ar()
    conf.gcc_common_flags()
    conf.gcc_modifier_platform()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 29
0
def configure(conf):
	conf.find_gcc()
	conf.find_ar()
	conf.gcc_common_flags()
	conf.gcc_modifier_platform()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 30
0
def configure(conf):
	conf.find_irixcc()
	conf.find_cpp()
	conf.find_ar()
	conf.irixcc_common_flags()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 31
0
def configure(conf):
	conf.find_irixcc()
	conf.find_cpp()
	conf.find_ar()
	conf.irixcc_common_flags()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 32
0
def configure(conf):
	conf.find_clangxx()
	conf.find_ar()
	conf.clangxx_common_flags()
	conf.clangxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 33
0
def configure(conf):
	conf.find_icpc()
	conf.find_ar()
	conf.gxx_common_flags()
	conf.gxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 34
0
def configure(conf):
    conf.find_bgxlc()
    conf.find_ar()
    conf.xlc_common_flags()
    conf.env.LINKFLAGS_cshlib = ['-G', '-Wl,-bexpfull']
    conf.env.LINKFLAGS_cprogram = []
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 35
0
def configure(conf):
    conf.find_clangxx()
    conf.find_program(["llvm-ar", "ar"], var="AR")
    conf.find_ar()
    conf.gxx_common_flags()
    conf.gxx_modifier_platform()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 36
0
def configure(conf):
	conf.find_clangxx()
	conf.find_program(['llvm-ar', 'ar'], var='AR')
	conf.find_ar()
	conf.gxx_common_flags()
	conf.gxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 37
0
def configure(conf):
	conf.find_bgxlc()
	conf.find_ar()
	conf.xlc_common_flags()
	conf.env.LINKFLAGS_cshlib = ['-G','-Wl,-bexpfull']
	conf.env.LINKFLAGS_cprogram = []
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 38
0
def configure(conf):
    conf.find_clang()
    conf.find_program(['llvm-ar', 'ar'], var='AR')
    conf.find_ar()
    conf.gcc_common_flags()
    conf.gcc_modifier_platform()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 39
0
def configure(conf):
	conf.find_clang()
	conf.find_program(['ar'], var='AR')
	conf.find_ar()
	conf.gcc_common_flags()
	conf.gcc_modifier_platform()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
Exemplo n.º 40
0
def configure(conf):
	conf.find_gxx()
	conf.find_ar()
	conf.gxx_common_flags()
	conf.gxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
	conf.check_gcc_o_space('cxx')
Exemplo n.º 41
0
def configure(conf):
    """
	Configuration for g++
	"""
    conf.find_gxx()
    conf.find_ar()
    conf.gxx_common_flags()
    conf.gxx_modifier_platform()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 42
0
def find_gas(conf):
    """
        Find the programs gas/as/gcc and set the variable *AS*
        """
    cross_gcc = '%sgcc' % conf.options.cross
    cross_gas = '%sgas' % conf.options.cross
    conf.find_program([cross_gcc, cross_gas], var='AS')
    conf.env.AS_TGT_F = ['-c', '-o']
    conf.env.ASLNK_TGT_F = ['-o']
    conf.find_ar()
    conf.load('asm')
def configure(conf):
	"""
	Configuration for g++
	"""
	conf.find_gxx()
	conf.find_ar()
	conf.gxx_common_flags()
	conf.gxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
Exemplo n.º 44
0
def configure(conf):
    """
    Configuration for clang
    """
    conf.find_clang()
    conf.find_ar()
    conf.clang_common_flags()
    conf.clang_modifier_platform()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 45
0
def configure(conf):
    """
	Configuration for gcc
	"""
    conf.find_gcc()
    conf.find_ar()
    conf.gcc_common_flags()
    conf.gcc_modifier_platform()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
    conf.check_gcc_o_space()
Exemplo n.º 46
0
def configure(conf):
    conf.find_clang()
    conf.find_program(['llvm-ar', 'ar'], var='AR')
    conf.find_ar()
    conf.gcc_common_flags()
    # Allow the user to provide flags for the target platform.
    conf.gcc_modifier_platform()
    # And allow more fine grained control based on the compiler's triplet.
    conf.clang_modifier_target_triple()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.link_add_flags()
Exemplo n.º 47
0
def configure(conf):
	"""
	Configuration for gcc
	"""
	conf.find_gcc()
	conf.find_ar()
	conf.gcc_common_flags()
	conf.gcc_modifier_platform()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.link_add_flags()
	conf.check_gcc_o_space()
Exemplo n.º 48
0
def configure(conf):
    """
	Configuration for g++
	"""
    try:
        conf.find_gxx()
    except Exception as e:
        print 'ERROR:', e
        pass
    conf.find_ar()
    conf.gxx_common_flags()
    conf.gxx_modifier_platform()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
Exemplo n.º 49
0
def configure(conf):
	"""
	Configuration for g++
	"""
	try:
		conf.find_gxx()
	except Exception as e:
		print 'ERROR:', e
		pass
	conf.find_ar()
	conf.gxx_common_flags()
	conf.gxx_modifier_platform()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
def configure(conf):
	conf.find_emscripten()
	conf.find_ar()
	conf.gcc_common_flags()
	conf.gxx_common_flags()
	conf.cc_load_tools()
	conf.cc_add_flags()
	conf.cxx_load_tools()
	conf.cxx_add_flags()
	conf.link_add_flags()
	conf.env.ARFLAGS = ['rcs']
	conf.env.cshlib_PATTERN = '%s.js'
	conf.env.cxxshlib_PATTERN = '%s.js'
	conf.env.cstlib_PATTERN = '%s.bc'
	conf.env.cxxstlib_PATTERN = '%s.bc'
	conf.env.cprogram_PATTERN = '%s.html'
	conf.env.cxxprogram_PATTERN = '%s.html'
	conf.env.append_value('LINKFLAGS',['-Wl,--enable-auto-import'])
Exemplo n.º 51
0
def configure(conf):
    """
	Configuration for gcc
	"""
    conf.find_gcc()
    conf.find_ar()
    conf.gcc_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    #conf.link_add_flags()

    conf.find_gxx()
    #conf.find_ar()
    conf.gxx_common_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
    conf.find_gas()
Exemplo n.º 52
0
def configure(conf):
    conf.find_emscripten()
    conf.find_ar()
    conf.gcc_common_flags()
    conf.gxx_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
    conf.env.ARFLAGS = ['rcs']
    conf.env.cshlib_PATTERN = '%s.js'
    conf.env.cxxshlib_PATTERN = '%s.js'
    conf.env.cstlib_PATTERN = '%s.bc'
    conf.env.cxxstlib_PATTERN = '%s.bc'
    conf.env.cprogram_PATTERN = '%s.html'
    conf.env.cxxprogram_PATTERN = '%s.html'
    conf.env.append_value('LINKFLAGS', ['-Wl,--enable-auto-import'])
Exemplo n.º 53
0
def configure(conf):
    conf.find_emscripten()
    conf.find_ar()
    conf.gcc_common_flags()
    conf.gxx_common_flags()
    conf.cc_load_tools()
    conf.cc_add_flags()
    conf.cxx_load_tools()
    conf.cxx_add_flags()
    conf.link_add_flags()
    conf.env.ARFLAGS = ["rcs"]
    conf.env.cshlib_PATTERN = "%s.js"
    conf.env.cxxshlib_PATTERN = "%s.js"
    conf.env.cstlib_PATTERN = "%s.a"
    conf.env.cxxstlib_PATTERN = "%s.a"
    conf.env.cprogram_PATTERN = "%s.html"
    conf.env.cxxprogram_PATTERN = "%s.html"
    conf.env.CXX_TGT_F = ["-c", "-o", ""]
    conf.env.CC_TGT_F = ["-c", "-o", ""]
    conf.env.CXXLNK_TGT_F = ["-o", ""]
    conf.env.CCLNK_TGT_F = ["-o", ""]
    conf.env.append_value("LINKFLAGS", ["-Wl,--enable-auto-import"])
Exemplo n.º 54
0
def configure(conf):
    conf.find_g77()
    conf.find_ar()
    conf.fc_flags()
    conf.g77_flags()
    conf.g77_modifier_platform()
Exemplo n.º 55
0
def configure(conf):
	conf.find_g95()
	conf.find_ar()
	conf.fc_flags()
	conf.g95_flags()
	conf.g95_modifier_platform()
def configure(conf):
	conf.find_pgfortran()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.pgfortran_flags()
Exemplo n.º 57
0
Arquivo: gfortran.py Projeto: zsx/waf
def configure(conf):
	conf.find_gfortran()
	conf.find_ar()
	conf.fc_flags()
	conf.gfortran_flags()
Exemplo n.º 58
0
def configure(conf):
	conf.find_crayftn()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.crayftn_flags()
Exemplo n.º 59
0
def configure(conf):
	conf.find_ifort()
	conf.find_ar()
	conf.fc_flags()
	conf.ifort_modifier_platform()