def create_fstatic_conf_taskgen(conf, name, body): # FIXME: make tools modules available through config context ctool = __import__("ctasks") builder = ctool.static_link_task old_root, new_root = create_conf_blddir(conf, name, body) try: conf.bld_root = new_root return _create_fbinary_conf_taskgen(conf, name, body, builder) finally: conf.bld_root = old_root
def create_fprogram_conf_taskgen(conf, name, body): # FIXME: make tools modules available through config context ftool = __import__("fortran") builder = ftool.fprogram_task old_root, new_root = create_conf_blddir(conf, name, body) try: conf.bld_root = new_root return _create_fbinary_conf_taskgen(conf, name, body, builder) finally: conf.bld_root = old_root