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
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
c591a68aab
chore: Nix: add back overrideCC that got lost on the way
2021-08-11 10:49:46 +02:00
Sebastian Ullrich
090786f07c
chore: Nix: fix doc sources
2021-08-06 17:12:27 +02:00
Sebastian Ullrich
e79d52d2ce
chore: Nix: reduce doc/doc-test sources
2021-08-06 16:58:44 +02:00
Sebastian Ullrich
81400109f3
chore: Nix: go back to LLVM 11 on macOS
2021-08-06 09:38:14 +02:00
Sebastian Ullrich
d52908d3b7
chore: LLVM: 10 -> 12
2021-08-05 15:50:03 +02:00
Sebastian Ullrich
c78bbc6c9c
chore: Nix: update inputs
2021-08-05 15:50:03 +02:00
Sebastian Ullrich
0db80c6ea8
chore: Nix: link with gold instead of lld
...
https://twitter.com/derKha/status/1419645259894640645
2021-08-02 13:42:11 +02:00
Sebastian Ullrich
60e6130ece
chore: Nix: expose benchmarks as flake attributes for convenience
2021-07-24 16:36:05 +02:00