Commit graph

19868 commits

Author SHA1 Message Date
Leonardo de Moura
abbd79a749 chore: update stage0 2020-05-19 11:29:32 -07:00
Sebastian Ullrich
e86758da60 chore: add missing preludes in Init/Lean
These aren't really necessary, but it's more consistent with other files and saves me a stage 0 update
2020-05-19 11:29:32 -07:00
Sebastian Ullrich
dc56eb7a86 chore: remove obsolete built-in search path 2020-05-19 11:29:32 -07:00
Sebastian Ullrich
18a89abbe6
chore: fix Windows CI
Switch to a `setup-msys2` fork working around https://github.com/msys2/MSYS2-packages/issues/1962
2020-05-19 15:44:27 +02:00
Leonardo de Moura
c7a5963483 fix: missing file 2020-05-18 12:15:41 -07:00
Leonardo de Moura
5c03838fad chore: update stage0 2020-05-18 12:14:42 -07:00
Leonardo de Moura
1a77ee4f89 chore: delete old runtime directory 2020-05-18 11:33:18 -07:00
Leonardo de Moura
e7cbaf1b57 chore: adjust CMakeLists.txt 2020-05-18 11:32:46 -07:00
Leonardo de Moura
8bdca35282 chore: use #include <lean/runtime/...> for runtime .h files 2020-05-18 11:30:07 -07:00
Leonardo de Moura
72df1b323a chore: copy runtime files 2020-05-18 11:06:26 -07:00
Sebastian Ullrich
9fdcf6ea59 refactor: put all includes in include/lean/ 2020-05-18 11:00:26 -07:00
Sebastian Ullrich
655a16ce56 doc: reference correct default stage 2020-05-18 14:52:10 +02:00
Sebastian Ullrich
78a3305764 chore: duplicate install file 2020-05-18 14:51:18 +02:00
Sebastian Ullrich
99e90cbdb9 fix: Nix build 2020-05-18 14:38:27 +02:00
Sebastian Ullrich
150f44b61b fix: install 2020-05-18 14:38:23 +02:00
Sebastian Ullrich
3c3258abd8 chore: install stage 0.5 by default 2020-05-18 14:38:23 +02:00
Sebastian Ullrich
ff0d56da65 doc: further elaborate on elan and Emacs setup
/cc @leodemoura @mhuisi
2020-05-18 11:00:29 +02:00
Sebastian Ullrich
bb554930f8 doc: elaborate on elan setup 2020-05-15 21:31:23 +02:00
Leonardo de Moura
e6463903d8 chore: add comment 2020-05-15 11:26:24 -07:00
Leonardo de Moura
d4aea2453a chore: another OSX issue 2020-05-15 11:22:29 -07:00
Leonardo de Moura
8a4e752f56 chore: fix OSX issues 2020-05-15 11:07:24 -07:00
Sebastian Ullrich
0918c8602b fix: avoid sed, which doesn't always like \r 2020-05-15 19:41:32 +02:00
Sebastian Ullrich
ed9b845eaa chore: test/update-stage0 targets with default stage 2020-05-15 11:46:38 +02:00
Sebastian Ullrich
5086c030f3 chore: remove obsolete style_check setup 2020-05-14 23:13:51 +02:00
Sebastian Ullrich
f64a343183 doc: describe new bootstrap setup 2020-05-14 23:13:51 +02:00
Sebastian Ullrich
a6fbf3c20e refactor: make stages internally consistent by compiling the stageN lib with the stageN compiler, rename static libraries
The old stage1 is now stage0.5, which at least suggests that it's not an entirely consistent stage in general
2020-05-14 23:13:51 +02:00
Sebastian Ullrich
d36c7dc33b doc: port test program instructions to leanmake 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
afd7e5fa6e feat: introduce simple leanmake wrapper 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
aa3bca1cf5 refactor: make Makefile reusable 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
9476ee2f54 fix: benchmarks CI 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
984fec7387 refactor: move update-stage0 out of Makefile 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
bea0be51b3 fix: install 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
342675181a fix: build 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
274e6bf931 doc: update make docs 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
279746fa6a chore: change stage1-3 into homogeneous ExternalProjects from new top-level /CMakeLists.txt
This ensures stage2+3 are full, standalone Lean installations
2020-05-14 14:47:54 +02:00
Sebastian Ullrich
10253e89ea chore: move bin/ and .oleans into build directory 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
73b4cf329d fix: Windows build 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
441ffadb29 Revert "chore: speed up sanitized build a bit"
This reverts commit d3115d8f58.

I didn't notice that we're not actually using a debug build for the sanitized build
2020-05-14 14:47:54 +02:00
Sebastian Ullrich
5d260c396f fix: macOS build 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
5f1a052998 feat: replace --make with -o flag that takes an explicit .olean target file name 2020-05-14 14:47:54 +02:00
Sebastian Ullrich
81784b145e chore: update stage0 2020-05-14 14:46:18 +02:00
Sebastian Ullrich
872d5fc7ba feat: stop compiling Lean code as C++, remove --cpp option
Since we don't use static initializers, really the only difference between using `clang` and `clang++` is the default
inclusion of the C++ standard library.
2020-05-14 14:45:33 +02:00
Sebastian Ullrich
053d4bab1c chore: factor out and unify common test behavior; retrieve lean from PATH
`./test_single.sh foo.lean yes` is now `./test_single.sh -i foo.lean`
2020-05-14 14:38:52 +02:00
Sebastian Ullrich
2325f5d358 chore: ignore more test output files 2020-05-14 14:38:52 +02:00
Sebastian Ullrich
bc40796729 chore: remove fail/ tests
Checking for *any* failure is never a good idea. Use `$f.expected.ret` instead.
2020-05-14 14:38:52 +02:00
Sebastian Ullrich
a5382f45ff chore: stop normalizing the input path in error messages 2020-05-14 14:38:52 +02:00
Sebastian Ullrich
76a97ea4fc feat: infer module name from cwd instead of LEAN_PATH, also make build system less specific to Init/ 2020-05-14 14:38:52 +02:00
Sebastian Ullrich
be79820a47 feat: add IO.currentDir 2020-05-14 14:38:52 +02:00
Leonardo de Moura
72aeab24eb chore: adjust new frontend 2020-05-12 15:07:06 -07:00
Leonardo de Moura
ab5c0301d6 chore: update stage0 2020-05-12 15:02:03 -07:00