euprunin
2ea675369f
chore: fix spelling mistakes ( #7328 )
...
Co-authored-by: euprunin <euprunin@users.noreply.github.com>
2025-04-07 01:15:48 +00:00
Henrik Böving
e9bd9807ef
fix: Windows stage0 linking ( #6622 )
...
This PR fixes stage0 linking on Windows against winsock.
---------
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2025-01-14 09:09:50 +01:00
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
Sebastian Ullrich
5bc6496a7c
chore: more libuv search patterns for the speedcenter ( #5008 )
2024-08-13 10:40:09 +02:00
Markus Himmel
c237c1f9fb
feat: link LibUV ( #4963 )
2024-08-12 12:33:24 +00:00
Sebastian Ullrich
67684db0c3
chore: delete more CMake cruft
2020-10-14 19:08:06 +02:00
Sebastian Ullrich
d5f58d27b0
chore: delete StyleCheck
2020-10-14 19:07:52 +02:00
Sebastian Ullrich
e7920bcdb5
chore: remove test special case
2020-05-04 11:11:11 +02:00
Simon Hudon
92c8773137
feat: file IO using handles
2020-01-12 08:02:48 -08:00
Leonardo de Moura
744bca1964
chore(cmake/Modules/cpplint): disable yet another buggy check
2018-06-06 15:28:44 -07:00
Leonardo de Moura
e7ac7cb542
chore(cmake/Modules/cpplint.py): disable bogus cpplint check
2018-05-23 10:10:37 -07:00
Nuno Lopes
59b5a4a07a
feat(build): add preliminary MSVC support
...
Still doesn't build fully, but at least Intellisense sort of works now
2018-02-06 10:11:09 -08:00
Gabriel Ebner
7e3be51a52
chore(*): remove last remnants of mpfr
2017-02-24 21:42:58 +01:00
Gabriel Ebner
661dd9c8a3
feat(checker): add simple pretty-printing
2017-01-31 10:20:55 +01:00
Gabriel Ebner
9e7ca0a969
feat(checker): add leanchecker executable
2017-01-31 09:39:31 +01:00
Gabriel Ebner
db7c9f245d
chore(CMakeLists): remove unused modules
2017-01-05 18:08:59 -08:00
Gabriel Ebner
bbbc790cfc
feat(.travis.yml): add codecov
2016-12-02 17:01:58 -08:00
Gabriel Ebner
a8df381d20
feat(*): parallel compilation
2016-11-29 11:12:40 -08:00
Soonho Kong
8b1f55010b
feat(CMakeLists.txt): include cpp14_lang/sized_deallocation.cmake
...
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
2016-10-03 22:21:55 -07:00
Soonho Kong
962460dbc2
feat(CMakeLists.txt): use compatibility module to check sized_deallocation feacture
...
related issue #1044
see https://github.com/foonathan/compatibility
2016-06-02 11:52:59 -07:00
Leonardo de Moura
f67181baf3
chore(*): remove support for Lua
2016-02-11 17:17:55 -08:00
Leonardo de Moura
9a85a95893
fix(cmake/Modules/CleanOlean.cmake): problem with 'clean-olean'
...
For some reason it was not working anymore on OSX
2015-07-20 23:21:51 -07:00
Favonia
2d69444da5
fix(cmake/Modules/cpplint.py): python3 compatible without six
2015-01-22 13:05:56 -08:00
Favonia
c1bfafd2a7
style(cmake/Modules/cpplint.py)
2015-01-22 13:05:56 -08:00
Favonia
a2f30322a9
fix(cmake/Modules/cpplint.py): delete ending colon
...
Delete the erroneous ending colon.
2015-01-22 13:05:56 -08:00
Favonia
51c771f334
revert(cmake/Modules/cpplint.py): roll back to python2 version
...
This reverts commit 65cc4d3c08 .
2015-01-22 13:05:42 -08:00
Soonho Kong
65cc4d3c08
fix(cmake/Modules/cpplint.py): roll back to python2 version
2015-01-21 19:26:38 -05:00
Favonia
073c1d1c31
feat(python): add python 3 compatibility
...
Add Python 3 compatibility through python-six library.
Closes #393 .
2015-01-21 17:13:55 -05:00
Soonho Kong
765d9b032f
feat(src/cmake/modules/CleanOlean.cmake): add CleanOlean.cmake
...
Instead of using 'find -delete', use CMAKE's FILE GLOB_RECURSE and FILE
REMOVE to implement clean-olean.
Related issue: #166
2014-09-14 01:40:21 -07:00
Leonardo de Moura
e81d96ffc1
feat(build): add build option for jemalloc
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-22 13:44:47 -07:00
Leonardo de Moura
6633dff46f
fix(build): githash generation
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-29 14:41:28 -08:00
Leonardo de Moura
0eaa98221b
fix(shell/lean): Lua repl missing, incorrect exit code in interactive mode, missing tests
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 12:25:19 -08:00
Leonardo de Moura
1e5518002b
feat(shell/lean): add git hash to executable
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-04 11:23:15 -08:00
Leonardo de Moura
0a6f622aec
chore(build): remove CheckLuaObjlen, it is easier to check the Lua version
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-12 12:58:22 -08:00
Soonho Kong
1cf037f11e
chore(cmake): do not delete coverage.info.cleaned which will be used for coveralls.io
2013-11-09 22:19:08 -05:00
Leonardo de Moura
183080294b
fix(cmake/Modules/CheckLuaNewstate.cc): compilation problem on cygwin
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-09 12:18:20 -08:00
Soonho Kong
d4dbc18404
chore(cmake/Modules/FindLua): disable TRY_RUN in cross-compilation.
2013-11-08 18:04:55 -05:00
Leonardo de Moura
a10aa0880f
fix(build): add CheckLuaObjlen.cc test, not every Lua version has the function lua_objlen
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-08 08:26:04 -08:00
Leonardo de Moura
db8b16641c
chore(build): check if the Lua installed in the system supports lua_newstate
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-07 21:54:57 -08:00
Leonardo de Moura
6f2183fafe
feat(FindLua.cmake): search also for LuaJit
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-03 13:45:23 -08:00
Soonho Kong
a9d55bf036
fix(lua): use updated FindLua and check version 5.2
2013-11-03 13:24:46 -05:00
Leonardo de Moura
ac08e244a6
feat(lua): add Lua support to build
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-02 11:16:30 -07:00
Leonardo de Moura
1097bbfb22
fix(style): fix warnings produced by cpplint.py, disable sizeof(type) warning
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-16 17:04:39 -07:00
Soonho Kong
6abb7bf2ff
chore(testcov): add missing CodeCoverage.cmake
2013-09-26 21:26:52 -07:00
Soonho Kong
80581a76bb
Update Find{MSize,MallocSize,MallocUsableSize}.cmake to handle the case where find_path fails
2013-09-21 00:10:25 -07:00
Soonho Kong
9226c46358
Add support OSX's malloc_size
2013-09-20 17:48:55 -07:00
Soonho Kong
8dc31dae4d
Fix Check{MSize,MallocUsableSize}.cc and FindMSize.cmake to consider cross-compilation
2013-09-20 16:10:00 -07:00
Leonardo de Moura
3971265bcb
Add support for _msize
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-20 14:14:57 -07:00
Leonardo de Moura
dae654e4c6
Track memory usage. Add new CMake option TRACK_MEMORY_USAGE (It is ON by default).
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-20 12:32:12 -07:00
Leonardo de Moura
9d1266c972
Fix bugs in Tcmalloc detection.
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-19 23:52:50 -07:00