Soonho Kong
d2b9fd073f
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-06-03 12:00:43 -04:00
Soonho Kong
bf9f3ddb3c
fix(CMakeLists.txt): update cmake minimum version to 2.8.12
...
In #1060 , we start using compatibility module which requires cmake version >= 2.8.12.
2016-06-02 15:38:23 -04:00
Soonho Kong
5cda399125
feat(CMakeLists.txt): use compatibility module to check sized_deallocation feacture
...
related issue #1044
see https://github.com/foonathan/compatibility
2016-06-02 11:16:17 -07:00
Leonardo de Moura
f67181baf3
chore(*): remove support for Lua
2016-02-11 17:17:55 -08:00
Lev Nachmanson
28bf891b7f
dev(lp): port to windows (msys2)
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
fbb3ed8911
feat(lp): add LP solver and incremental LU factorization
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:34 -08:00
Soonho Kong
30b5313118
feat(CMakeLists.txt): handle new/old ABIs issue for MSYS2 + g++ combination
...
related issue: #930
2016-01-26 20:41:20 -08:00
Leonardo de Moura
1bb21d202b
refactor(library/blast): move recursor action and strategy to its own directory
2016-01-01 12:49:49 -08:00
Leonardo de Moura
0148bb08fd
feat(library/blast): add 'ematch_simp' strategy for blast and msimp
shortcut for it.
...
This strategy is based on ematching and congruence closure, but it uses
the [simp] lemmas instead of [forward] lemmas.
2015-12-29 20:04:31 -08:00
Leonardo de Moura
b92416d66c
refactor(library/error_handling): move error_handling to library main dir
2015-12-29 15:31:40 -08:00
Leonardo de Moura
5f5e4fe7fb
feat(library/blast/grinder): add intro/elim lemmas
2015-12-07 18:43:12 -08:00
Leonardo de Moura
4bf9fc2cf5
refactor(library/blast): move simple_strategy to strategies folder
...
We will add more strategies in the future.
2015-12-04 11:46:56 -08:00
Leonardo de Moura
73622150a6
refactor(library/blast): move actions to actions folder
...
to make Daniel happy.
2015-12-04 10:00:04 -08:00
Daniel Selsam
46e60abda6
feat(library/blast/forward): branch extension
2015-11-23 13:58:13 -08:00
Daniel Selsam
a8700e6778
refactor(library/blast/unit): rename unit propagation module
2015-11-23 13:58:13 -08:00
Daniel Selsam
21cb409e6c
refactor(library/blast/simplifier): move simplifier module into blast
2015-11-19 19:43:04 -08:00
Daniel Selsam
5ada4312d7
feat(library/blast/forward): propositional forward chaining
2015-11-19 11:44:53 -08:00
Leonardo de Moura
4bb58a04db
fix(CMakeLists): remove tests for dead module, fixes #883
2015-11-19 07:59:57 -08:00
Daniel Selsam
413989afd6
feat(library/blast/backward): backward chaining strategy
2015-11-18 17:48:39 -08:00
Soonho Kong
a25b43f1e8
feat: do not generate leanstatic.a in EMSCRIPTEN build
2015-11-03 18:22:05 -05:00
Leonardo de Moura
c5603e456a
feat(kernel/expr): replace "opportunistic" caching with precise caching
...
We also removed compilation option LEAN_CACHE_EXPRS
2015-09-30 12:29:43 -07:00
Leonardo de Moura
f73051c674
fix(CMakeLists.txt): do not generate DLL when using cross-compilation
...
It is not clear why it doesn't work.
This is not a big because we do not use cross-compilation anymore to
generate the official Lean for Windows. We use MSys2 instead.
2015-09-25 10:40:41 -07:00
Leonardo de Moura
5028d794ce
refactor(library,library/blast): move context to blast
2015-09-16 07:49:39 -07:00
Leonardo de Moura
b31ab7d77a
feat(compiler,frontends/lean): add #compile command for debugging purposes, add compiler module
2015-09-11 10:49:07 -07:00
Soonho Kong
f941af03ba
feat(CMakeLists.txt): install *.md in standard/hott libraries
...
close #823
2015-09-10 18:13:47 -04:00
Leonardo de Moura
524e507022
fix(util/thread): make sure threads are finalized when using the Lean C API and threads are created by the host system
2015-09-02 12:23:10 -07:00
Leonardo de Moura
0909c8f08f
chore(CMakeLists): use --export-all in cygwin
2015-08-18 13:57:01 -07:00
Leonardo de Moura
9d486a4e88
feat(tests/shared): add test for the hierarchical name C API
2015-08-17 17:48:09 -07:00
Leonardo de Moura
42d41fb276
feat(api): expose hierarchical names in the C API
2015-08-17 17:23:10 -07:00
Leonardo de Moura
4d3ed6ca43
feat(init/init): automatically initialize lean shared library
2015-08-17 14:18:32 -07:00
Leonardo de Moura
5f8b600024
fix(CMakeLists): use --export-all option when creating DLL on Windows
2015-08-13 12:14:24 -07:00
Leonardo de Moura
52138b8232
fix(CMakeLists): dylib generation
2015-08-13 11:50:41 -07:00
Leonardo de Moura
98bfb8467a
test(test/shared): add small program for testing shared library
2015-08-13 11:48:54 -07:00
Leonardo de Moura
8746484b8f
fix(CMakeLists): DLL generation
2015-08-13 11:38:33 -07:00
Leonardo de Moura
498afc1e6f
feat(CMakeLists): add shared library
2015-08-13 11:21:05 -07:00
Soonho Kong
00582934ec
feat(CMakeLists.txt): update CXX_FLAGS_EMSCRIPTEN
...
Add: -O3 -s ALLOW_MEMORY_GROWTH=1 --llvm-lto 1
Close leanprover/tutorial#96
2015-08-10 02:03:39 -04:00
Leonardo de Moura
18dd57978d
feat(CMakeLists.txt): .dmg generation
2015-07-20 20:33:33 -07:00
Leonardo de Moura
a99c44b644
fix(CMakeLists.txt): disable problematic tests on Windows
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2015-07-20 08:14:31 -07:00
Soonho Kong
c72e661a9e
feat(CMakeLists.txt): add option USE_GITHASH (default:on)
...
related issue: #733
2015-07-17 16:55:22 -04:00
Leonardo de Moura
a24b06254b
test(tests/shell): add unit test for emscripten_shell
2015-06-18 10:20:26 -07:00
Leonardo de Moura
e3250f0ffd
feat(library/simplifier): add conditional equivalence detection
2015-05-21 13:55:23 -07:00
Leonardo de Moura
51a30892a1
chore(examples/ex): move example to library
2015-05-13 17:07:10 -07:00
Leonardo de Moura
fa70930ef4
feat(library/blast): add union-find datastructure
2015-05-11 16:19:51 -07:00
Leonardo de Moura
4905233eb2
fix(CMakeLists.txt): warning on OSX
2015-05-11 12:55:52 -07:00
Soonho Kong
018cbe9447
fix(src/CMakeLists.txt): debian deps for static and non-static builds
2015-04-30 12:38:44 -04:00
Soonho Kong
e8d894473e
feat(src/CMakeLists.txt): add cpack support for Debian package
2015-04-30 10:01:34 -04:00
Soonho Kong
c7f1e3737f
fix(src/CMakeLists.txt): add -lpthread only if MULTI_THREAD is ON
2015-04-30 09:55:38 -04:00
Soonho Kong
7bae895c23
refactor(src/CMakeLists.txt): simplify conditions in if
...
There are many places where we do not need 'MATCHES "ON"' or 'MATCHES
"OFF"'. Reference: http://www.cmake.org/cmake/help/v3.0/command/if.html
~~~
if(<constant>)
True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. False
if the constant is 0, OFF, NO, FALSE, N, IGNORE, NOTFOUND, the empty
string, or ends in the suffix -NOTFOUND. Named boolean constants are
case-insensitive. If the argument is not one of these constants, it is
treated as a variable.
~~~
2015-04-30 09:51:05 -04:00
Leonardo de Moura
c19ec664b8
feat(CMakeLists): add flag suggested by Soonho
...
closes #557
2015-04-29 16:34:14 -07:00
Leonardo de Moura
8241863abe
feat(kernel/hits): add two builtin HITs: type_quotient and trunc
2015-04-23 15:32:31 -07:00