lean4
lean4 copied to clipboard
fix: make lean4 build on FreeBSD
Upstreaming patches from the FreeBSD port. The port compiles successfully on FreeBSD and all but 6 tests pass.
Mathlib CI status (docs):
- ❗ Mathlib CI will not be attempted unless your PR branches off the 'nightly-with-mathlib' branch. (2024-01-14 04:54:48)
Please don't include the changes to stage0 in the PR (unless they are needed for subsequent changes, in which case they should be in their own commit. (See https://lean-lang.org/lean4/doc/dev/bootstrap.html#updating-stage0)