Closed hecmay closed 2 years ago
Need to upgrade g++ to 7 and downgrade python to 3.6 to make the local CI/CD work
@chhzh123 you did not add Circle CI to hcl-mlir branch, right? It seems the cloud CI/CD would hang up and terminated when building LLVM
make[1]: *** [Makefile.pkg.common:6: all] Terminated
make: *** [Makefile:8: build-pkgs] Terminated
make[5]: *** [tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/build.make:303: tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o] Hangup
make[5]: *** [tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/build.make:524: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o] Hangup
make[5]: *** [tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/build.make:511: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o] Hangup
make[5]: *** [tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/build.make:550: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o] Hangup
make[2]: *** [Makefile:40: /home/circleci/project/build/pkgs/llvm/.build-llvm] Hangup
make[4]: *** [CMakeFiles/Makefile2:32839: tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/all] Hangup
make[4]: *** [CMakeFiles/Makefile2:33029: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/all] Hangup
make[4]: *** [CMakeFiles/Makefile2:32162: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/all] Hangup
make[3]: *** [Makefile:171: all] Hangup
context deadline exceeded
Nope, I haven't added CI tests in this repository.
@hecmay I can later do it. But if you want to set it up yourself, you can check the configuration file here. I think we do not need to retain the TVM compilation flow?
thanks @chhzh123 . right, i think we just can keep the MLIR related tests. The TVM version has been tested in master branch.
It seems that our compilation is killed by Circle CI/CD since we are using free plan and it has a build time limitation of 1 hour: Context deadline exceeded after 1 hour - Build timed out (Free tier only)
We probably need to install a pre-compiled one, or do that locally.
The MLIR one only takes 5 min to build and pass all the tests if LLVM 14 is prebuilt in advance. I'll give it a try later to see if it works.
@chhzh123 it seems that im still not able to access that private repo
Cloning into 'hcl-dialect-prototype'...
Warning: Permanently added the ECDSA host key for IP address '140.82.114.4' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Exited with code exit status 128
CircleCI received exit code 128
@chhzh123 can u also help review this PR? i plan to update the code gen part in another PR to add the driver code part for different backends.
TBA