Commit graph

83 commits

Author SHA1 Message Date
Mario Carneiro
37252e5fa7 chore: remove Bootstrap package 2022-09-02 16:39:03 -07:00
Mario Carneiro
bf89c5a0f5 chore: move Std -> Bootstrap 2022-08-29 01:26:12 -07:00
Sebastian Ullrich
4562fcfbd7 chore: Nix: include orphan modules like lean.mk does 2022-08-27 17:41:46 +02:00
Sebastian Ullrich
f4de40d7dc feat: turn on warningAsError 2022-07-29 10:31:19 -07:00
Sebastian Ullrich
8972cc9baf chore: Nix: cache Leanc-deps 2022-07-16 16:19:01 +02:00
Sebastian Ullrich
0f6bda61c9 chore: Nix: buildLeanPackage devShell 2022-07-08 23:24:04 +02:00
Sebastian Ullrich
d679044a9b chore: Nix: use --deps-json for faster, single IFD per package 2022-07-06 16:12:30 +02:00
Sebastian Ullrich
a16eff2996 chore: Nix: implement roots 2022-07-06 16:12:30 +02:00
Sebastian Ullrich
4a9bc88a4e chore: fix USE_GMP=OFF by removing GMP linking customization 2022-03-26 16:29:52 +01:00
Sebastian Ullrich
126c7dd4ea chore: Nix: command for (one-time) linking .ileans 2022-03-09 10:29:25 +01:00
Sebastian Ullrich
8cbd7ccf09 test: reimplement package tests using Lake 2022-02-09 12:21:11 -08:00
Sebastian Ullrich
a7ba103e0a chore: remove leanpkg 2022-02-04 19:03:40 +01:00
Sebastian Ullrich
2f02ddeba1 fix: Nix: revise propagation of load-dynlibs 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
cf1654df1f fix: Nix: precompilation against stdlib, once more 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
9b87428555 fix: Nix: work around https://github.com/NixOS/nixpkgs/issues/148189 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
23db584b8f fix: Nix: precompilation against stdlib 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
ac28f89527 fix: Nix: link package's shared library dynamically against dependencies
refactor: Nix: dynlib handling
2022-01-25 23:25:52 +01:00
Sebastian Ullrich
fb57b73e1f fix: Nix: compatibility with standard build 2022-01-21 09:24:43 +01:00
Sebastian Ullrich
9ab5f0376e feat: Nix: iTree attribute for symlinking (complete) ilean files 2022-01-14 19:02:10 +01:00
Sebastian Ullrich
d2a1e20dd0 feat: bundling LLVM on Linux 2021-11-18 09:42:35 +01:00
Sebastian Ullrich
7a91c494b9 chore: submodule hints 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
89f9045646 test: add lake tests 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
f9ab429f75 fix: Nix build 2021-09-30 10:24:45 +02:00
Sebastian Ullrich
e6927253cf feat: use leanc written in Lean for testing & distribution
building is still handled by a (minimal) Bash script for bootstrapping purposes
2021-09-25 09:59:50 +02:00
Sebastian Ullrich
f49d05bd76 chore: Nix: remove Leanpkg from stage 0 2021-09-22 16:03:57 +02:00
Sebastian Ullrich
d3eb5deeea chore: Nix: fix macOS build 2021-09-22 16:00:13 +02:00
Sebastian Ullrich
5a4309e599 refactor: bootstrap.nix 2021-09-22 14:43:32 +02:00
Sebastian Ullrich
d65871241d chore: replace sed with perl in test driver
Consistent across all three platforms
2021-09-16 21:33:56 +02:00
Sebastian Ullrich
b3bb2bac97 chore: move all C++ code into libleanshared, use C stub for main
Avoids any issues with cross-lib C++
2021-09-16 07:03:37 -07:00
Sebastian Ullrich
af78071000 chore: use -Bsymbolic in favor of -Bsymbolic-functions, which Zig doesn't like 2021-09-08 17:24:31 +02:00
Sebastian Ullrich
9702fe1981 chore: leanc: use C instead of C++ compiler 2021-09-08 17:24:31 +02:00
Sebastian Ullrich
2418acd216 chore: Nix: fix stage0 2021-08-20 09:42:05 -07:00
Sebastian Ullrich
5f4b1b1d44 Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it""
This reverts commit ccbc9d00db.
2021-08-20 09:42:05 -07:00
Sebastian Ullrich
ccbc9d00db Revert "feat: reintroduce libleanshared, link lean & leanpkg against it" 2021-08-20 15:39:00 +02:00
Sebastian Ullrich
aa177dacc3 chore: Nix: fix macOS linker flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
88f3de7a44 chore: link leanshared using leanc after all 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
ef64ea2e62 chore: Nix: use leanshared as well 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
917eb4d081 chore: collect stdlib compilation flags in new header 2021-08-12 07:51:50 -07:00
Sebastian Ullrich
60e6130ece chore: Nix: expose benchmarks as flake attributes for convenience 2021-07-24 16:36:05 +02:00
Sebastian Ullrich
b5d8bc1b8f chore: Nix: pin LEAN_CXX for manual leanc calls 2021-07-13 15:03:03 +02:00
Sebastian Ullrich
b48831cda7 fix: Nix: put wrapped leanc in #lean-all 2021-06-23 23:30:42 +02:00
Sebastian Ullrich
efa9369097 chore: restore prefer_native flag 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
da4c46370d feat: store elaborator declaration name in info tree 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
744423f25a fix: leanpkg: make flags; extend test 2021-05-30 17:29:54 +02:00
Sebastian Ullrich
429a450a1b chore: Nix: minimize closure size of .#lean 2021-05-21 14:54:35 +02:00
Sebastian Ullrich
ae9b2131c1 chore: reset prefer_native 2021-04-29 13:37:41 +02:00
Sebastian Ullrich
73cf3533a1 fix: count quotation depth in parser correctly 2021-04-29 13:33:48 +02:00
Sebastian Ullrich
5644cee2d6 chore: reset prefer_native 2021-04-05 13:58:15 +02:00
Sebastian Ullrich
98e1baabbd refactor: make trailingNode clean up after itself
Also resolves an issue with emitting both `left` and a partial tree
containing it
2021-04-05 13:51:03 +02:00
Sebastian Ullrich
9f6436ebfd chore: reset prefer_native 2021-03-22 16:33:37 +01:00