def do_compile(args): cmd, cache_path, jittor_path = args try_import_jit_utils_core(True) if cc: return cc.cache_compile(cmd, cache_path, jittor_path) else: run_cmd(cmd) return True
def do_compile(args): cmd, cache_path, jittor_path = args try_import_jit_utils_core(True) if cc: # m.def("cache_compile", &jittor::jit_compiler::cache_compile); return cc.cache_compile(cmd, cache_path, jittor_path) else: run_cmd(cmd) return True