示例#1
0
文件: f08.py 项目: Distrotech/scons
def generate(env):
    add_all_to_env(env)
    add_f08_to_env(env)

    fcomp = env.Detect(compilers) or 'f08'
    env['F08']  = fcomp
    env['SHF08']  = fcomp

    env['FORTRAN']  = fcomp
    env['SHFORTRAN']  = fcomp
示例#2
0
def generate(env):
    add_all_to_env(env)
    add_f08_to_env(env)

    fcomp = env.Detect(compilers) or 'f08'
    env['F08'] = fcomp
    env['SHF08'] = fcomp

    env['FORTRAN'] = fcomp
    env['SHFORTRAN'] = fcomp
示例#3
0
文件: f08.py 项目: mwichmann/scons
def generate(env):
    add_all_to_env(env)
    add_f08_to_env(env)

    fcomp = env.Detect(compilers) or 'f08'
    if 'F08' not in env:
        env['F08']  = fcomp
    if 'SHF08' not in env:
        env['SHF08']  = '$F08'

    if 'FORTRAN' not in env:
        env['FORTRAN']  = fcomp
    if 'SHFORTRAN' not in env:
        env['SHFORTRAN']  = '$FORTRAN'