Пример #1
0
def default_uniq_cfg_path():
    arch_val = chpl_arch.get('target', map_to_compiler=True,
                             get_lcd=using_chapel_module()).arch
    return '{0}-{1}-{2}-{3}'.format(chpl_platform.get('target'),
                                    chpl_compiler.get('target'),
                                    arch_val,
                                    chpl_lib_pic.get())
Пример #2
0
def default_uniq_cfg_path():
    cpu_val = chpl_cpu.get('target',
                           map_to_compiler=True,
                           get_lcd=using_chapel_module()).cpu
    compiler_val = chpl_compiler.get_path_component('target')
    return '{0}-{1}-{2}-{3}-{4}'.format(chpl_platform.get('target'),
                                        chpl_arch.get('target'), cpu_val,
                                        compiler_val, chpl_lib_pic.get())