示例#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()
示例#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()
示例#3
0
文件: pgicc.py 项目: AleemDev/waf
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()
def configure(conf):
    conf.find_xlf()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.xlf_flags()
    conf.xlf_modifier_platform()
示例#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()
示例#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()
示例#8
0
文件: fc_nag.py 项目: afeldman/waf
def configure(conf):
    conf.find_nag()
    conf.find_ar()
    conf.fc_flags()
    conf.fc_add_flags()
    conf.nag_flags()
    conf.nag_modifier_platform()
示例#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()
示例#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()
示例#11
0
文件: xlcxx.py 项目: 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()
示例#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()
示例#13
0
文件: ifort.py 项目: 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()
示例#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()
示例#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()
示例#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()
示例#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()
示例#18
0
文件: fc_bgxlf.py 项目: AleemDev/waf
def configure(conf):
	conf.find_bgxlf()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.xlf_flags()
	conf.bg_flags()
示例#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()
示例#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()
示例#22
0
文件: pgicc.py 项目: pablolbap/jlv2
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()
示例#23
0
文件: ifort.py 项目: afeldman/waf
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()
示例#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()
示例#25
0
文件: fc_bgxlf.py 项目: afeldman/waf
def configure(conf):
	conf.find_bgxlf()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.xlf_flags()
	conf.bg_flags()
示例#26
0
文件: fc_open64.py 项目: AleemDev/waf
def configure(conf):
	conf.find_openf95()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.openf95_flags()
	conf.openf95_modifier_platform()
示例#27
0
文件: g95.py 项目: 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()
示例#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()
示例#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()
示例#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()
示例#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()
示例#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()
示例#33
0
文件: icpc.py 项目: Gnurou/glmark2
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()
示例#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()
示例#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()
示例#36
0
文件: clangxx.py 项目: afeldman/waf
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()
示例#37
0
文件: c_bgxlc.py 项目: afeldman/waf
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()
示例#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()
示例#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()
示例#40
0
文件: gxx.py 项目: a4187000/ns3_dc
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')
示例#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()
示例#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()
示例#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()
示例#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()
示例#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()
示例#47
0
文件: gcc.py 项目: blablack/ams-lv2
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()
示例#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()
示例#49
0
文件: emxx.py 项目: wdanilo/emxx_waf
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'])
示例#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()
示例#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'])
示例#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"])
示例#54
0
def configure(conf):
    conf.find_g77()
    conf.find_ar()
    conf.fc_flags()
    conf.g77_flags()
    conf.g77_modifier_platform()
示例#55
0
文件: g95.py 项目: ETLin/ns3-h264-svc
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()
示例#57
0
文件: gfortran.py 项目: zsx/waf
def configure(conf):
	conf.find_gfortran()
	conf.find_ar()
	conf.fc_flags()
	conf.gfortran_flags()
示例#58
0
文件: fc_cray.py 项目: BillTian/waf
def configure(conf):
	conf.find_crayftn()
	conf.find_ar()
	conf.fc_flags()
	conf.fc_add_flags()
	conf.crayftn_flags()
示例#59
0
文件: ifort.py 项目: RunarFreyr/waz
def configure(conf):
	conf.find_ifort()
	conf.find_ar()
	conf.fc_flags()
	conf.ifort_modifier_platform()