Commit graph

54 commits

Author SHA1 Message Date
Sebastian Ullrich
83304b8a0c chore: Nix: preserve source paths in debug builds 2020-12-20 16:46:03 +01:00
Sebastian Ullrich
4e3025fe81 feat: Nix: use HEAD as stage0 2020-12-16 18:52:39 +01:00
Sebastian Ullrich
f641a660ce doc: include up-to-date begin-end macro code from test
@leodemoura: #include is pretty handy
2020-12-14 15:10:03 +01:00
Sebastian Ullrich
73ae39313d fix: Nix: better stage 0 detection 2020-12-08 17:13:32 +01:00
Sebastian Ullrich
23b0e6ca5b fix: Nix: use stage 1 outside of src/
Hopefully we can solve this using a src/flake.nix as soon as relative flake inputs are supported
2020-12-03 18:49:29 +01:00
Sebastian Ullrich
797bec86f5 chore: Nix: overhaul nix-dev, lift technical restrictions 2020-12-02 16:49:25 +01:00
Sebastian Ullrich
b90f93966d fix: Nix: add transitive external dependencies to the LEAN_PATH 2020-12-02 13:59:19 +01:00
Sebastian Ullrich
8cc6ec1cb7 chore: Nix: Lean shell quoting 2020-12-01 15:55:41 +01:00
Sebastian Ullrich
78379de8e6 chore: go back to LLVM 10
3% slower on stdlib: http://speedcenter.informatik.kit.edu/velcom/run-detail/9012094e-6524-4e99-8397-1b17b6a10ae5
failure on macOS: https://hydra.nixos.org/build/130586121
2020-11-30 12:32:53 +01:00
Sebastian Ullrich
f850354ee1 chore: turn LLVM up to 11 2020-11-30 11:46:32 +01:00
Sebastian Ullrich
9527058df9 feat: Nix: support overriding stage 0 for chaining builds with different configurations/source trees 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
03acc5ea1f feat: Nix: sanitized build 2020-11-29 14:08:53 +01:00
Sebastian Ullrich
d7c3be09f6 feat: Nix: inherit LEAN_PATH in lean-package/emacs-package 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
c432ca72d6 feat: Nix: template for custom packages 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
6a61296f73 chore: Nix: use same stage for retrieving dependencies 2020-11-28 12:37:36 +01:00
Sebastian Ullrich
e250e8e433 fix: Nix: use interpreter.prefer_native=false during bootstrap 2020-11-28 12:37:36 +01:00
Sebastian Ullrich
3a4b61f8c7 feat: Nix: debug builds 2020-11-28 12:37:35 +01:00
Sebastian Ullrich
bbe3d51c44 chore: Nix: hide some Nix warnings in lean-dev
/cc @javra
2020-11-25 18:37:33 +01:00
Sebastian Ullrich
192ee5372a fix: Nix: update-stage0 2020-11-25 12:13:22 +01:00
Sebastian Ullrich
2c64441910 chore: Nix: disable dirty Git tree warning & fix lean4-diff-test-file
/cc @leodemoura

Note that you will have to restart Emacs and the "Lean shell" around it for the changes to take effect
2020-11-24 20:05:24 +01:00
Sebastian Ullrich
bc0010b84c fix: Nix: Lean module ccache
Now I remember again why I did that the way I did it
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e0d9bc2f9b chore: Nix: simplify flake.nix after all and fix shell.nix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
58d97def40 chore: Nix: cache .o files on macOS as well 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
fc6ddcef94 chore: Nix: fix nix run 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2794ae76f9 feat: Nix: update-stage0 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b02413120f chore: Nix: preserve module directory structure in .c and .o outputs
This simplifies update-stage0 and makes linker errors from static libraries less confusing
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b3165709d2 chore: Nix: writeScriptBin ~> writeShellScriptBin 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
09d71cf3d3 chore: Nix: adjust depRoot drv name, build locally only 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ad8c551572 chore: Nix: reduce runtime closure of cmake derivations 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a6f8ff94ca chore: Nix: exclude leanmake test 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e6fcd61173 chore: Nix: tidy packages up a bit 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
31876691dc chore: Nix: build thin static libraries
Less disk churn and .o files are automatically included in binary cache pushes
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
8b33ce9bdf chore: Nix: strip "Git dir ... is dirty" warnings 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
511a958f56 fix: Nix: require lean4-mode on Emacs startup 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
73e9b96cdc refactor: Nix: move out lean-dev script 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
092d5d67b4 chore: Nix: rebase old shell.nix setup on new flake.nix one, add shell nix attribute for pinned flakes-enable Nix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4d3d7cb4a6 fix: Nix: minor fixes in lean-dev 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1dedafa173 fix: Nix: use current stage for files outside of source root 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6845d18119 fix: Nix: separate development and package lean/emacs 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
f6fcca6316 feat: Nix: multi-platform, reorganize outputs 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b2c83a37d8 feat: Nix: Emacs PoC 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
8b027235dc chore: Nix: split new.nix into more meaningful parts 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
00eda2f8c6 chore: update nixpkgs, changing back to LLVM 10 2020-07-08 12:14:49 +02:00
Sebastian Ullrich
40463a3ab8 chore: building static executables is hopeless, do mostly static instead 2020-06-10 21:30:38 +02:00
Sebastian Ullrich
99e90cbdb9 fix: Nix build 2020-05-18 14:38:27 +02:00
Sebastian Ullrich
11ab7dde3a chore: update to LLVM 10 2020-04-13 12:18:56 +02:00
Sebastian Ullrich
df3fc8c147 chore: fix nix-build by disabling ccache for now 2020-01-25 15:26:59 +01:00
Sebastian Ullrich
e426e5dd28 chore: add CCACHE option, on by default if available 2019-11-21 13:11:02 -08:00
Sebastian Ullrich
2c861f8970 feat: nix: use ccache by default 2019-11-11 15:05:25 -08:00
Sebastian Ullrich
27599b11b5 chore: clang 9 should work on macOS now 2019-10-07 12:24:55 +02:00