Mirror of https://github.com/leanprover/lean2 in case it ever disappears
d2b9fd073f
Previously, it downloaded cpp14_lang/sized_deallocation.cmake file from Github during cmake was running. This worked in most cases but failed in an environment where network connection was not provided. A particular example is to build Ubuntu packages. See [1] for details. This patch is to include cpp14_lang/sized_deallocation.cmake file in the repository. It also set COMP_CMAKE_PATH to indicate the location of the pre-downloaded file. 'CACHE INTERNAL ""' is required to set the scope of COMP_CMAKE_PATH file so that it's visible inside of 'CompBase.cmake'. See [2] for details. [1]: https://launchpadlibrarian.net/263258156/buildlog_ubuntu-precise-amd64.lean_0.2.0.20160603023524.gitc73b2860d5211187e9aa1039d1a49dcabdca4292~12.04_BUILDING.txt.gz [2]: https://cmake.org/cmake/help/v2.8.12/cmake.html#command:set |
||
---|---|---|
bin | ||
doc | ||
extras | ||
hott | ||
images | ||
library | ||
script | ||
src | ||
tests/lean | ||
.gitignore | ||
.travis.osx.yml | ||
.travis.windows.yml | ||
.travis.yml | ||
LICENSE | ||
README.md |
License | Windows | Ubuntu | OS X | Builds/Tests |
---|---|---|---|---|
About
- Homepage
- Theorem Proving in Lean: HTML, PDF
- Authors
- Standard Library
- HoTT Library
- Emacs Mode
- Short Tutorial
Requirements
- C++11 compatible compiler: g++ (version >= 4.8.1), or clang++ (version >= 3.3)
- CMake
- GMP (GNU multiprecision library)
- MPFR (GNU MPFR Library)
- Lua 5.2 or 5.1, or LuaJIT 2.0
- (optional) gperftools
- (optional) Boost (version >= 1.54), we can build Lean using boost::thread instead of std::thread. When using Boost, Lean can modify the thread stack size.
Installing required packages at
Windows
Linux
OS X
Build Instructions
Miscellaneous
- Testing and Code Coverage
- Building Doxygen Documentation:
doxygen src/Doxyfile
- Coding Style
- Library Style Conventions
- Git Commit Conventions
- Automatic Builds
- Syntax Highlight Lean Code in LaTeX