Commit graph

125 commits

Author SHA1 Message Date
Markus Himmel
f0c190239a
feat: compile against Windows SDK headers under Windows (#5753)
Breaking changes:

To build Lean from source on Windows, it is now necessary to install the
[Windows
SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/).
The build instructions have been updated to reflect this. Note that the
Windows SDK is **not** needed to compile Lean programs using a Lean
toolchain obtained using `elan`. The Windows SDK is only needed to build
Lean itself from source.

Furthermore, we are dropping support for Windows versions older than
Windows 10 1903 (released in May 2019).

No Windows version that is still supported by Microsoft as part of
mainstream support is affected by this.

The following Windows versions are still supported by Microsoft as part
of commercial extended support but are no longer supported by Lean:

- Windows 10 Enterprise LTSC 2015
- Windows 10 Enterprise LTSC 2016
- Windows 10 Enterprise LTSC 2019
- Windows Server 2019
2024-10-22 13:00:02 +00:00
Markus Himmel
d835616573
chore: fix MSYS2 build instructions (#5617) 2024-10-07 12:42:37 +00:00
Kim Morrison
7e72f9ab85
chore: add libuv to the required packages heading in macos docs (#5045) 2024-08-15 01:33:58 +00:00
Markus Himmel
c237c1f9fb
feat: link LibUV (#4963) 2024-08-12 12:33:24 +00:00
Alok Singh
6dd502321f
chore: add parallelism fallback for macOS on build (#4647)
1 less thing to think about.

---------

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2024-08-08 14:26:06 +00:00
John Tristan
0dff5701af
doc: updated build instructions for mac os X (#4317)
Edit to the platform specific setup for mac os X. The installation of
llvm does not accept the options --with-clang and --with-asan anymore.
2024-06-01 16:23:17 +00:00
Sebastian Ullrich
73a0c73c7c
chore: modernize build instructions (#4032)
Use `cmake --preset`, adjust and document parallelism settings
2024-05-23 10:55:07 +00:00
Joachim Breitner
2867b93d51
chore: replace shell.nix with a devShell in flake.nix (#3717)
as a side effect this pins the “old nixpkgs” revision used by CI for
release builds.
(Not that that old branch is likely to change a lot…)
2024-03-21 13:24:01 +00:00
David Thrane Christiansen
1f4359cc80
fix: broken internal links in the docs (#3216)
I deleted internal links that seemed to have the character of "TODO". I
think that the residual TODO is of little value, given that we plan a
big revamp and revision soon anyway, but I could do it some other way as
well.
2024-01-25 09:56:20 +00:00
Sebastian Ullrich
ea5b55b8f2
doc: remove Nix docs 2023-12-01 08:32:20 +00:00
Pietro Monticone
fff4aea0d9
doc: fix typos (#2287) 2023-06-25 20:30:33 +02:00
Sebastian Ullrich
ab08bffbec chore: Nix: fix stage0-from-input 2022-06-27 22:37:02 +02:00
Sebastian Ullrich
d2c626e158 doc: refine development manual 2022-04-05 16:03:24 +02:00
Chris Lovett
6dc576121d
doc: replace quickstart leanpkg info with info about lake 2022-03-11 16:31:58 -08:00
Sebastian Ullrich
126c7dd4ea chore: Nix: command for (one-time) linking .ileans 2022-03-09 10:29:25 +01:00
Sebastian Ullrich
dbdb92a411 doc: advise using Developer Mode on Windows 2021-11-19 10:09:26 +01:00
Sebastian Ullrich
941b4c21e0 chore: CRLF be gone 2021-11-09 09:49:09 +01:00
Sebastian Ullrich
c29ad9a9b3 doc: ubuntu: specify fewer versions that will become outdated anyway 2021-11-09 09:41:18 +01:00
Sebastian Ullrich
7a91c494b9 chore: submodule hints 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
74b813fbcd doc: restructure make/index.md
debug builds are not very interesting currently given the state of
debugging Lean code
2021-10-15 06:56:02 -07:00
Chris Lovett
2ca4188fc3 doc: somehow wsl2.md was created so the page on https://leanprover.github.io/lean4/doc/make/wsl2.html is empty. This fixes that. 2021-09-23 23:26:35 +02:00
Chris Lovett
3a20b6be8a
doc: add wsl setup docs and reorganize a new "dev" folder 2021-09-23 09:21:39 +02:00
Chris Lovett
ad7c5b26a7
fix: UTF-8 file path support for lean on Windows
* fix msys2 windows build so the windows apps support utf-8 file paths.

* use windres to compile default-manifest.o

* windres is in binutils.

* stop modifying default-manifest.o

* copy to stage0

* fix semicolon joining of lists in add_custom_target

* undo changes to stage0 as per CR feedback.

* fix makefile

* fix: revert cmakelists.txt COMMAND_EXPAND_LISTS  change

* fix: msys2 dependencies

* add unit test for decoding UTF-8 chars to prove "lean.exe" can read utf-8 encoded files where utf-8 is also used in the file name.

* fix: utf-8 test by using windows-2022

* fix: do we really need cmake 3.11 or will 3.10 do?

* nope, really does require cmake 11.
2021-09-22 12:21:52 +02:00
Chris Lovett
1591bb1640 doc: fix msys text based on code review feedback 2021-09-10 10:07:57 +02:00
Chris Lovett
bc3900cbb9 doc: small fixes 2021-09-07 19:19:58 -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
440abd4bd1 chore: CI: switch to GCC on Windows for now
See discussion at https://github.com/leanprover/lean4/pull/555
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
7e78de978d doc: further bootstrapping complications 2021-08-12 07:51:50 -07:00
Sebastian Ullrich
a94e48cec7
doc: less Emacs-centric 2021-05-18 21:08:53 +02:00
Sebastian Ullrich
8175003707 doc: update links to elan 2021-04-17 16:33:23 +02:00
Sebastian Ullrich
f80147e264 doc: update dev setup editor instructions 2021-02-02 17:30:51 +01:00
Sebastian Ullrich
9ecabe5a06 feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01:00
Sebastian Ullrich
9485b8d074 doc: setup 2021-01-03 13:21:58 +01:00
Sebastian Ullrich
b0f1bfb580 doc: fix ctest advice 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
d2b82bf563 doc: LSP setup using Nix 2020-12-23 20:00:52 +01:00
Sebastian Ullrich
4e3025fe81 feat: Nix: use HEAD as stage0 2020-12-16 18:52:39 +01:00
Sebastian Ullrich
d96393ee47 doc: building Lean packages with Nix 2020-12-02 17:52:57 +01:00
Sebastian Ullrich
797bec86f5 chore: Nix: overhaul nix-dev, lift technical restrictions 2020-12-02 16:49:25 +01:00
Sebastian Ullrich
5adaecc00e doc: Nix: more about nix develop 2020-12-01 15:55:41 +01:00
Sebastian Ullrich
6f8d039c1b doc: Nix: make binary cache setup compatible with Nix 2.3 2020-11-29 22:56:48 +01:00
Sebastian Ullrich
967c9c7d00 doc: Nix: debugging tip 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
45a315d273
doc: Nix: seems to work fine on macOS 2020-11-25 09:48:50 +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
6be438d7b1 doc: Nix: more notes 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4f89cbf9b9 doc: Nix: explain some warnings
/cc @leodemoura @javra
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1b302f328f doc: fix Bash comment highlighting 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ffb8e1904b doc: Nix setup 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e167085429 doc: remove outdated description 2020-11-24 19:16:27 +01:00