Exemple #1
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()
Exemple #2
0
def configure(conf):
    conf.find_ifort()
    conf.find_program("xiar", var="AR")
    conf.env.ARFLAGS = "rcs"
    conf.fc_flags()
    conf.fc_add_flags()
    conf.ifort_modifier_platform()
Exemple #3
0
def configure(conf):
    conf.find_ifort()
    conf.find_program('xiar', var='AR')
    conf.env.ARFLAGS = 'rcs'
    conf.fc_flags()
    conf.fc_add_flags()
    conf.ifort_modifier_platform()
Exemple #4
0
def configure(conf):
	conf.find_ifort()
	conf.find_program('xiar', var='AR')
	conf.env.ARFLAGS = 'rcs'
	conf.fc_flags()
	conf.fc_add_flags()
	conf.ifort_modifier_platform()
Exemple #5
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()
Exemple #6
0
def configure(conf):
	conf.find_ifort()
	conf.find_ar()
	conf.fc_flags()
	conf.ifort_modifier_platform()
Exemple #7
0
def configure(conf):
    conf.find_ifort()
    conf.find_ar()
    conf.fc_flags()
    conf.ifort_modifier_platform()
Exemple #8
0
Fichier : ifort.py Projet : zsx/waf
def configure(conf):
	conf.find_ifort()
	conf.find_ar()
	conf.fc_flags()