File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ def git_clone(lib, lib_path):
357357def handle_flagtree_backend ():
358358 global ext_sourcedir
359359 if flagtree_backend :
360- print (f"flagtree_backend is { flagtree_backend } " )
360+ print (f"\033 [1;32m[INFO] FlagtreeBackend is { flagtree_backend } \033 [0m " )
361361 extend_backends .append (flagtree_backend )
362362 if "editable_wheel" in sys .argv and flagtree_backend != "ascend" :
363363 ext_sourcedir = os .path .abspath (f"../third_party/{ flagtree_backend } /python/{ ext_sourcedir } " ) + "/"
@@ -426,3 +426,12 @@ def check_env(env_val):
426426 pre_hock = lambda : check_env ('LLVM_BUILD_DIR' ),
427427 post_hock = set_llvm_env ,
428428)
429+
430+ # ascend
431+ cache .store (
432+ file = "ascend-llvm-b5cc222d-ubuntu-x64.tar.gz" ,
433+ condition = ("ascend" == flagtree_backend ),
434+ url = "https://oaitriton.blob.core.windows.net/public/llvm-builds/llvm-b5cc222d-ubuntu-x64.tar.gz" ,
435+ pre_hock = lambda : check_env ('LLVM_SYSPATH' ),
436+ post_hock = set_llvm_env ,
437+ )
You can’t perform that action at this time.
0 commit comments