Commit graph

35 commits

Author SHA1 Message Date
Wojciech Nawrocki
d92e4a7cf1 chore: restore LEANC_EXTRA_FLAGS
We now pass them to both compilers and linkers. For example, -pthread should be given to both: https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
c772dc49ef chore: use leanc for all C code 2021-06-06 15:34:44 +02:00
Sebastian Ullrich
7ebe80ad2a chore: update Nix, Nixpkgs, vscode-lean4 2021-06-06 15:00:40 +02:00
Sebastian Ullrich
20cbb4389a fix: Nix: VS Code override 2021-04-21 12:21:02 +02:00
Sebastian Ullrich
e1e5ad30ae chore: Nix: update VS Code 2021-04-11 23:03:56 +02:00
Sebastian Ullrich
c74dd7c683 chore: Nix: stage0debug 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
9ecabe5a06 feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01:00
Sebastian Ullrich
4e3025fe81 feat: Nix: use HEAD as stage0 2020-12-16 18:52:39 +01:00
Sebastian Ullrich
ad5f8f021d feat: Nix: thread-sanitized build 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
c432ca72d6 feat: Nix: template for custom packages 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
3a4b61f8c7 feat: Nix: debug builds 2020-11-28 12:37:35 +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
6be577b634 fix: CI: Linux release job 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3e8693fac8 fix: Nix: provide .#lean-package etc. from Lean package 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
a5ad46f7be feat: Nix: mdbook 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
2794ae76f9 feat: Nix: update-stage0 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
e094bdcd62 chore: Nix: print cumulative and per-line execution time on CI 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
6e406d50d9 chore: Nix: cache stage 0 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3439cc80b3 chore: Nix: fix compilation on macOS 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bcebc0a145 chore: Nix: set up Cachix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
70daaab0a0 chore: Nix: use /nix/var/cache/ccache for macOS 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
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
df99a6a469 fix: Nix: tests (almost, apart from leanmake & server tests) 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a31802d5e2 chore: Nix: use lld to speed up linking by ~1s 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
875ca7ed7e chore: Nix: new stages & other tweaks 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
c6929ae69a feat: Nix: basic setup 2020-11-24 19:16:27 +01:00