lean4-htt/script
David Thrane Christiansen 8fef03d1cc
feat: support Lake for building Lean core oleans (#3886)
This is from a ~~pair~~triple programming session with @tydeu and
@mhuisi.

If stage 1 is built with `-DUSE_LAKE=ON`, the CMake run will generate
`lakefile.toml` files for the root, `src`, and `tests`. These Lake
configuration files can then be used to build core oleans. While they do
not yet allow Lake to be used to build the Lean binaries. they do allow
Lake to be used for working interactively with the Lean source. In our
preliminary experiments, this allowed updates to `Init.Data.Nat` to be
noticed automatically when reloading downstream files, rather than
requiring a full manual compiler rebuild. This will make it easier to
work on the system.

As part of this change, Lake is added to stage 0. This allows Lake to
function in `src`, which uses the stage 0 toolchain.

---------

Co-authored-by: Mac Malone <tydeu@hatpress.net>
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2024-06-13 16:18:24 +00:00
..
lib feat: support Lake for building Lean core oleans (#3886) 2024-06-13 16:18:24 +00:00
apply.lean chore: add missing copyright headers (#3411) 2024-02-20 01:49:55 +00:00
collideProfiles.lean feat: trace.profiler export to Firefox Profiler (#3801) 2024-04-15 12:13:14 +00:00
diff_changelogs.py chore(script): fix nightlies... finally? 2018-03-26 16:17:42 +02:00
gen_constants_cpp.py chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
gen_tokens_cpp.py chore: fix more typos in comments 2023-10-08 14:37:34 -07:00
issues_summary.sh feat: script to summarize issues (#3952) 2024-04-24 06:11:07 +00:00
patch.sh fix(script/patch): apply changes 2019-08-09 08:52:49 -07:00
prepare-llvm-linux.sh fix: C++ exceptions across shared libraries on Linux (#3500) 2024-02-26 10:35:11 +00:00
prepare-llvm-macos.sh fix: disabling forwarding --target to lean. 2023-08-14 13:33:46 +02:00
prepare-llvm-mingw.sh feat: Linux LLVM CI for stage1+ 2023-08-14 13:33:46 +02:00
rebase-stage0.sh chore: add ./script/rebase-stage0.sh (#3984) 2024-05-02 12:26:25 +00:00
reformat.lean chore: fix script/reformat.lean 2022-11-28 15:47:17 +01:00