Commit graph

172 commits

Author SHA1 Message Date
Sebastian Ullrich
19925f8ec1 chore: Nix: move docs build into sub-flake
workflow is not ideal right now because of poor support for sub-flakes,
but I also don't want the doc input in the main flake...
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
4a9bc88a4e chore: fix USE_GMP=OFF by removing GMP linking customization 2022-03-26 16:29:52 +01:00
Sebastian Ullrich
720e445755 chore: Nix: update inputs 2022-03-24 12:33:33 +01:00
Sebastian Ullrich
5c6e054e24 chore: update to LLVM 14 2022-03-24 12:33:33 +01:00
Sebastian Ullrich
147a5c2933 chore: prefer LEAN_SRC_PATH 2022-03-14 17:24:25 +01:00
Sebastian Ullrich
db9b963af7 chore: Nix: adjust message 2022-03-09 10:31:32 +01:00
Sebastian Ullrich
202258cc87 chore: Nix: remove debug flag 2022-03-09 10:30:37 +01:00
Sebastian Ullrich
a7438e9eae chore: Nix: remove debug flag 2022-03-09 10:30:09 +01:00
Sebastian Ullrich
126c7dd4ea chore: Nix: command for (one-time) linking .ileans 2022-03-09 10:29:25 +01:00
Sebastian Ullrich
2221cc8141 chore: Nix: emulate lake serve 2022-03-09 10:14:43 +01:00
Sebastian Ullrich
8cbd7ccf09 test: reimplement package tests using Lake 2022-02-09 12:21:11 -08:00
Patrick Stevens
b48e48328f
chore: Nix: bump vscode-lean4 version to 0.0.63 2022-02-05 20:08:45 +01: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
cfaba85199 feat: load precompiled modules in the server 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
a926c6b1b2 chore: Nix: more consistent drv name 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
8893ba9fa0 fix: Nix: precompilation on macOS 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
b601f2ffb2 perf: Nix: use bare command for shared libs 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
096250a585 feat: Nix: simple, opt-in precompilation scheme 2022-01-25 23:25:52 +01:00
Sebastian Ullrich
01987dbc8e refactor: Nix: attach object drv to module drv 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
b20ecd02d7 chore: move out lean4-mode 2022-01-24 21:23:53 +01:00
Sebastian Ullrich
fb57b73e1f fix: Nix: compatibility with standard build 2022-01-21 09:24:43 +01:00
Sebastian Ullrich
dc148003cb chore: Nix: remove annoying output 2022-01-20 18:55:57 +01:00
Sebastian Ullrich
9ab5f0376e feat: Nix: iTree attribute for symlinking (complete) ilean files 2022-01-14 19:02:10 +01:00
Sebastian Ullrich
3da76efa10 chore: Nix: remove Leanpkg from default deps 2021-12-25 17:00:20 +01:00
Anders Christiansen Sørby
cfe924e53e
feat: Nix: add nativeSharedLibs option
* feat: Add nativeSharedLibs option

Use LD_PRELOAD with staticLibDeps

Add a verbose flag when debug is true

Use shared libs instead

feat: Add recursive nativeSharedLibs

Repair printPaths

Remove -v flag from lean call

feat: Use new load-dynlib option

Remove LD_PRELOAD

fix: Add allNativeSharedLibs to allLinkFlags

Trying to fix native linking

feat: Automatic link flags of nativeSharedLibs

fix: Add gmp to sharedLib buildInputs

* fix: Wrap executable files in a linker group

This is a bit slower but ensures that cycles or bad ordering of the
static lib dependencies is resolved.

* Convert allExternalDeps to a list

Breaking change if you depend on allExternalDeps being a attrset
2021-11-28 17:56:01 +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
765ed37409 feat: server: support Lake 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
0a43a9c466 refactor: use JSON to communicate between server & package manager 2021-10-08 11:28:04 +02:00
Sebastian Ullrich
c2194c2bc1 chore: update to LLVM 13 2021-10-06 14:34:29 +02: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