Commit graph

52 commits

Author SHA1 Message Date
Sebastian Ullrich
a7ba103e0a chore: remove leanpkg 2022-02-04 19:03:40 +01:00
Sebastian Ullrich
524be36d23 feat: build & bundle Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
89d6c70273 fix: macOS build 2021-10-08 18:34:28 +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
0a6778d05f chore: silence clang warning when exporting Lean function declared in lean.h 2021-09-20 18:41:46 +02:00
Sebastian Ullrich
c5940f0149 fix: cmake/make dependencies 2021-09-09 18:12:55 +02:00
Sebastian Ullrich
a97621467f fix: stdlib.make: missing target 2021-09-08 17:24:31 +02:00
Sebastian Ullrich
68a3799b7c refactor: build lean in stdlib.make 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
82c97d34fa chore: specify accurate dependencies for leanshared 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
88f3de7a44 chore: link leanshared using leanc after all 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
68ecda843b chore: remove STATIC cmake flag 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
df5c1b2a3b chore: fix leanshared flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
eb72fba635 refactor: build C files using leanmake/leanc in stage 0 as well 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
f46e853899 chore: fix Windows link flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
92403ae7e1 chore: move -fno-semantic-interposition to the right place 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
b0167c6ab0 fix: leanpkg rpath 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
617f17facb feat: reintroduce libleanshared, link lean & leanpkg against it 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
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
Wojciech Nawrocki
c772dc49ef chore: use leanc for all C code 2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
4d7ccc7c72 feat: Lean.js can compile itself 2021-06-06 15:34:44 +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
Sebastian Ullrich
725c0c1911 chore: implement lhs prec 2021-03-22 16:33:37 +01:00
Sebastian Ullrich
c7347bbe0f fix: that's not how Makefiles work 2021-01-27 12:34:48 +01:00
Sebastian Ullrich
5fea8fcba3 fix: statically link GMP into leanpkg if STATIC=ON 2021-01-25 15:24:16 +01:00
Sebastian Ullrich
ddabe1aa6f chore: alternative fix to 15185a1 2021-01-25 10:34:34 +01:00
Leonardo de Moura
8bc88bde6b chore: undefine LEAN_PATH
@Kha This doesn't work on my machine. It seems this is a GNU make feature.
2021-01-24 17:52:14 -08:00
Sebastian Ullrich
15185a1775 fix: unset LEAN_PATH before building stdlib 2021-01-24 19:41:16 +01:00
Sebastian Ullrich
02a4383afb fix: stdlib.make 2021-01-10 18:10:22 +01:00
Sebastian Ullrich
db2613cead fix: leanc should not depend on ccache or cmake g++
use e.g. `LEAN_CXX=ccache clang++` to re-enable
2021-01-09 23:02:48 +01:00
Sebastian Ullrich
9e237f8a12 feat: basic port of leanpkg 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
ce96fab8de chore: fix passing additional LEAN(C)_OPTS to make 2020-10-22 12:00:39 +02:00
Sebastian Ullrich
b06f8311e8 fix: avoid using native code during bootstrap 2020-10-21 11:21:56 +02:00
Sebastian Ullrich
f73fca1da7 chore: make_stdlib: use everything but lean from the current stage
Finally the stage 1 stdlib will be built against the headers in src/, not stage0/src/
2020-09-24 18:57:53 +02:00
Sebastian Ullrich
c54d51b0c9 chore: go back to previous bootstrapping scheme where the stage N+1 stdlib is created using the stage N compiler 2020-09-24 18:57:53 +02:00
Sebastian Ullrich
015903f055 chore: speedcenter: benchmark actual, parallel stdlib build 2020-08-24 13:43:44 +02:00
Sebastian Ullrich
34e496d606 chore: add stage 1.5 (yes, really) 2020-08-12 09:15:59 -07:00
Sebastian Ullrich
52f2f04dff chore: leanmake: don't use CMake-like output by default 2020-06-17 18:20:05 +02:00
Sebastian Ullrich
8227eea87b chore: simplify stdlib.make.in 2020-05-27 19:42:44 +02:00
Leonardo de Moura
8d30f67823 feat: add Lean package 2020-05-26 13:39:03 -07:00
Sebastian Ullrich
47bb2a59a8 fix: fail build if building Init failed 2020-05-23 12:39:14 +02:00
Leonardo de Moura
efba802011 feat: start Std package 2020-05-22 10:58:44 -07:00