-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: ensure nightly and rustup are available #81
Conversation
@wsmoses This passed, but isn't caching (yet) or testing (yet). What to cache?Perhaps the right choice is to cache all of $ dust build/host/llvm
48M ┌── include │█ │ 2%
45M │ ┌── c-index-test │█░░░ │ 1%
97M │ ├── llvm-exegesis │███░ │ 3%
190M ├─┴ bin │████ │ 6%
47M │ ┌── libclang.so.17.0.6-rust-1.77.0-nightly │█░░░░░░░░░░░░░░░░░ │ 2%
49M │ ├── libclangSema.a │██░░░░░░░░░░░░░░░░ │ 2%
89M │ ├── libclang-cpp.so.17-rust-1.77.0-nightly │██░░░░░░░░░░░░░░░░ │ 3%
141M │ ├── libLLVM-17-rust-1.77.0-nightly.so │███░░░░░░░░░░░░░░░ │ 5%
865M ├─┴ lib │██████████████████ │ 28%
44M │ ┌── clang-ast-dump │█▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 1%
45M │ ├── c-index-test │█▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 1%
97M │ ├── llvm-exegesis │███▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 3%
236M │ ┌─┴ bin │█████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 8%
38M │ │ ┌── StaticAnalyzer │█▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 1%
48M │ │ │ ┌── obj.clangSema.dir │█▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 2%
48M │ │ │ ┌─┴ CMakeFiles │█▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 2%
49M │ │ ├─┴ Sema │██▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 2%
246M │ │ ┌─┴ lib │██████▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 8%
267M │ │ ┌─┴ clang │██████▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 9%
302M │ ├─┴ tools │███████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 10%
44M │ │ ┌── CodeGen │█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 1%
47M │ │ ├── libclang.so.17.0.6-rust-1.77.0-nightly│█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
49M │ │ ├── libclangSema.a │██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
50M │ │ ├── Transforms │██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
89M │ │ ├── libclang-cpp.so.17-rust-1.77.0-nightly│██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 3%
141M │ │ ├── libLLVM-17-rust-1.77.0-nightly.so │███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 5%
59M │ │ │ ┌── RISCV │██▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
62M │ │ │ ├── X86 │██▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
63M │ │ │ ├── AArch64 │██▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 2%
319M │ │ ├─┴ Target │███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░ │ 10%
1.4G │ ├─┴ lib │█████████████████████████████░░░░░░░░░░░░ │ 45%
1.9G ├─┴ build │█████████████████████████████████████████ │ 64%
3.0G ┌─┴ llvm │███████████████████████████████████████████████████████████████ │ 100% When/how to rebuild Enzyme?We currently have an (empty) marker file $ git -C src/tools/enzyme rev-parse HEAD
7e3e90f4287068a41d3fb5a99127ee2857353b04 Note that this need not be the same as the currently-committed submodule (if the tree is dirty, which should not be the case in CI) $ git ls-tree --object-only HEAD src/tools/enzyme
7e3e90f4287068a41d3fb5a99127ee2857353b04 I don't think caching Enzyme is important -- it doesn't take long to build and it'll be changing relatively frequently. Actually running testsOur current |
I agree that for CI it's probably no issue to rebuild Enzyme, I was never bugged by that in Enzyme core. |
🎉 We're at 22 seconds to restore the cached LLVM build (saves about 2 hours). That should automatically rebuild when |
This is using |
No description provided.