3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 20:18:18 +00:00
Commit graph

470 commits

Author SHA1 Message Date
Dan Liew d6fa0583ab Fix bug in `ExeComponent.mk_uninstall()` in the build system
which would try to uninstall components that were never installed.

This bug would cause the following line to be emitted in the
``Makefile`` under the ``uninstall`` rule even though there was
no corresponding rule to install the file under the ``install`` rule.

```
@rm -f $(DESTDIR)$(PREFIX)/bin/test-z3$(EXE_EXT)
```
2015-11-28 19:03:05 +00:00
Dan Liew 041c02feb7 Finish addressing @wintersteiger comments on `$(DESTDIR)` being
duplicated in too many places by refactoring the installation and
removal of the Python bindings to use the ``MakeRuleCmd`` class.

In order to make this change:

* ``PYTHON_PACKAGE_DIR`` no longer contains the text ``$(PREFIX)``
* ``PYTHON_PACKAGE_DIR`` **MUST BE** inside the installation prefix
2015-11-28 19:03:05 +00:00
Dan Liew 23cf7e86a9 Start to address @wintersteiger 's comments aboug `$(DESTDIR)` being
duplicated in too many places and being worried that someone might
forget to use it when installing additional components.

To acheive this the new ``MakeRuleCmd`` class provides
several class methods to generate commonly needed commands used in
make file rules.

Most of the build system has been changed to use these helper methods
apart from stuff related to the Python bindings. This can't be changed
until we fix how PYTHON_PACKAGE_DIR is handled. Right it not guaranteed
to live under the install prefix but this is a requirement when using
the ``MakeRuleCmd`` methods.
2015-11-28 19:03:05 +00:00
Dan Liew 53f0addb6b Avoid making a copy of libz3 on non Windows platforms for the
Python bindings (provided they both exist within the same install
prefix) by creating a relative symbolic link. This saves
space when packaging Z3.
2015-11-28 19:03:05 +00:00
Dan Liew e8822b1806 Add a note about using DESTDIR when building Z3 completes. 2015-11-28 19:03:05 +00:00
Dan Liew 4c11037d70 Fix setting the path to the Python package directory.
There were several problems with the existing implementation.

* When specifying ``--prefix`` the implementation would assume the
  path was ``$(PREFIX)/lib/python-<VERSION>/dist-packages``. This
  is incorrect. ``dist-packages`` is Debian (and its derivatives,
  i.e Ubuntu) specific and won't work on other Linux distributions
  such as Arch Linux.

* When generating the ``Makefile``, ``$(PREFIX)`` was only emitted
  during the Python installation when ``--prefix`` was passed on
  the command line. When ``--prefix`` was not passed the absolute
  path to the Python package directory was emitted. This is not
  very consistent.

This patch checks that the detected Python package directory lives
under the install prefix and emits an error if it does not as this
indicates that the installation will be broken. If the Python package
directory does live under the install prefix it replaces that prefix
with the ``$(PREFIX)`` variable when emitting the ``Makefile`` for
consistency with the other install commands.

If a user really wants to install to a particular Python package
directory they can force it with the newly added ``--pypkgdir=``
flag.
2015-11-28 19:03:05 +00:00
Dan Liew b285ce7cee Partially fix not being able to do a staged install (using `DESTDIR`)
when installing the Python bindings.

If ``DESTDIR`` is set the bindings will now be installed under this
path but ``$(PREFIX)`` only appears in the ``Makefile`` if ``--prefix``
was set which seems a little broken (we'll fix this soon).

The creation of the Python ``site-packages`` (and ``__pycache__`` for Python
3) directories has been moved to build time instead of configure time
because we don't know what ``DESTDIR`` will be set to at configure time.
2015-11-28 19:03:05 +00:00
Dan Liew 9489665ddc Partially fix not being able to do a staged package install of Z3 using the
DESTDIR make file variable (https://www.gnu.org/prep/standards/html_node/DESTDIR.html)
for ``install`` and ``uninstall`` targets.

Typically packagers build packages like so

```
$ ./configure --prefix=/usr/
$ make
$ make DESTDIR=/some/path/ install
```

Doing this installs the files into a directory ``/some/path`` but places
files inside that directory using the layout in ``--prefix`` (e.g.
``/some/path/usr/bin/z3``).  The ``/some/path`` directory can then be
packaged (e.g. tarballed) for later installation.

The ``DESTDIR`` is not set in the Makefile and thus is empty by default
which maintains the existing ``make install`` behaviour.

Unfortunately this situation isn't fixed for the Python bindings (and
possibly others) yet as more invasive changes are needed here. I'll fix
this in later commits.
2015-11-28 19:03:05 +00:00
Christoph M. Wintersteiger 3ed5945cb2 Fixed Python 2.x vs 3.x issues.
Fixes Z3Prover/bin#2.
2015-11-19 23:27:12 +01:00
Christoph M. Wintersteiger fc05eb65bd Fixed regular expressions in build scripts to expect cross-platform newlines. 2015-11-17 13:55:16 +00:00
Nikolaj Bjorner 6e1c246454 avoid exception in Ratul's environment
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-16 23:06:04 -08:00
Christoph M. Wintersteiger 05eb78ccac fix for string decoding in build scripts 2015-11-14 15:42:49 +00:00
Christoph M. Wintersteiger 639dfc4b30 fix for string decoding in build scripts 2015-11-14 15:06:55 +00:00
Christoph M. Wintersteiger 27dcd8c5b6 Fix for python decoding of command line output strings
Fixes #302
2015-11-13 17:15:04 +00:00
Christoph M. Wintersteiger 2f216ee5c1 Fixed PREFIX for OSX installation. Fixes #124. 2015-11-03 15:35:43 +00:00
Christoph M. Wintersteiger 28ba92b298 Python 3.x issues 2015-10-30 06:31:16 -07:00
Christoph M. Wintersteiger 7287478370 Fixed Python 3.x issue with commandline output from subprocess.Popen 2015-10-29 15:54:28 +00:00
Christoph M. Wintersteiger 5cb4b1d188 Fix for example build rules. 2015-10-29 13:06:48 +00:00
Christoph M. Wintersteiger b47e9d74e9 Refactored example build rules to avoid compiler warnings. 2015-10-29 13:03:02 +00:00
Christoph M. Wintersteiger 498bafcc4b Merge branch 'ocamlfind_stublibs' of https://github.com/zkincaid/z3 into zkincaid-172 2015-10-19 17:05:55 +01:00
Christoph M. Wintersteiger eb0cdc42d1 Merge branch 'pypy-fix' of https://github.com/zardus/z3 into zardus-76
# Conflicts:
#	scripts/mk_util.py
2015-10-19 16:51:43 +01:00
Christoph M. Wintersteiger aa1692370d Merge branch 'fix-mk_util_py' of https://github.com/cao/z3 into cao-tabs
# Conflicts:
#	scripts/mk_util.py
2015-10-19 15:35:14 +01:00
Christoph M. Wintersteiger b1fcdadd55 Merge branch 'buildsystem_cleanup' of https://github.com/daniel-j-h/z3 into daniel-j-h-buildsystem_cleanup 2015-10-19 15:18:13 +01:00
Christoph M. Wintersteiger 3c89312d1e Merge pull request #55 from zshipko/master
support openbsd
2015-10-19 14:15:56 +01:00
Zachary Kincaid 9e34872e8f For ocamlfind install, set rpath to package directory if stublibs does not exist 2015-10-04 10:10:53 -04:00
Christoph M. Wintersteiger d8524ae4dd Fixed indentation 2015-10-03 16:24:06 +01:00
Christoph M. Wintersteiger 08a3ab92f3 Added --noomp to mk_make 2015-10-02 12:38:56 +01:00
Zachary Kincaid eca2488ab4 If ocamlfind is installed, add destdir/stublibs to rpath 2015-07-26 19:59:17 -04:00
Nuno Lopes e441db5bc4 build system: fix typo in OS_DEFINES for linux
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-23 13:59:36 +01:00
Nuno Lopes 4346966f00 Run link-time optimization on windows only when configured with --optimize
This should probably be revisited for VS 2015

Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-22 14:48:50 +01:00
zach shipko 9cc4fc919d Merge branch 'master' of https://github.com/Z3Prover/z3 2015-05-30 18:36:26 -07:00
Nuno Lopes 8ff7735a20 python 3 fixes
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-19 13:47:43 +01:00
Nuno Lopes ef32aaaf12 don't use -fPIC on cygwin 64
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-18 16:37:20 +01:00
Nikolaj Bjorner e8811748d3 fix regressions in nl/smt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 19:08:37 +01:00
Nuno Lopes 7ae68f003a dont use /LTCG on windows debug builds
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-15 19:20:57 +01:00
Nuno Lopes ce749240d7 more fixes for python 3
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-12 18:43:51 +01:00
Yan 8b9bf9ea90 Fix mk_util.py so that it explicitly closes files (instead of relying on reference counting, which doesn't exist in pypy) 2015-05-05 11:38:04 -07:00
Kevin Borgolte 024923526b remove unused modules 2015-05-05 11:31:32 -07:00
Kevin Borgolte f458423868 remove trailing whitespace 2015-05-05 11:29:48 -07:00
Kevin Borgolte 7dcdecfa09 fix mixed tab/spaces indent 2015-05-05 11:29:26 -07:00
Christoph M. Wintersteiger c0dc08ee9c Added configuration checks for floating-point build flags. 2015-04-30 17:17:44 +01:00
Christoph M. Wintersteiger 78cc1e0703 Remove temporary files created during configuration tests. 2015-04-29 15:15:57 +01:00
zach shipko f034ed54ab support openbsd 2015-04-23 11:28:17 -07:00
Daniel J. Hofmann ce9036c300 Minor python-related style fixes 2015-04-09 21:24:15 +02:00
Christoph M. Wintersteiger 03020b9f96 Build system bugfixes.
Partially fixes #27
2015-04-08 12:09:14 +01:00
Christoph M. Wintersteiger ba066ff899 Bugfix for build scripts.
Partially fixes #27
2015-04-08 11:54:25 +01:00
Christoph M. Wintersteiger 0e8d314a2a Fixed Java API installation targets. Fixes #28 2015-04-08 11:02:56 +01:00
Christoph M. Wintersteiger 0ad97022a1 Added (un)install targets for the Java API 2015-04-07 13:48:34 +01:00
Christoph M. Wintersteiger 0f03cd2ae0 Enabled test for OpenMP in Windows (for old and express versions of visual studio).
Fixes #8
2015-03-29 15:49:03 +01:00
Nikolaj Bjorner 4bfe20647b remove tab in mk_util.py
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-27 02:43:21 -07:00
Christoph M. Wintersteiger 8d11c431b7 Bugfix for the OCaml bindings on Windows
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 17:44:53 +00:00
Nuno Lopes dd2c179663 Fix warnings during compilation with MSVC due to /LTCG
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-02 15:05:38 +00:00
Nuno Lopes 8d303a09b5 Compile Z3 with link-time optimizations on Windows, yielding a 2-3% speedup
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-25 13:10:29 +00:00
Nuno Lopes 1e30fd2c65 Hide non-exported symbols when compiling with gcc/clang.
I get a 17% reduction in the size of libz3.so on linux 32 bits, plus a 0.5-1% speedup when using the API.

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:38:46 +00:00
Nuno Lopes 5676fbbc9e compiler love: make a few symbols static and avoid unneeded relocations
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:13:51 +00:00
Christoph M. Wintersteiger 5c7d0380d3 Fixes in the OCaml FPA API and example 2015-01-24 18:29:52 +00:00
Christoph M. Wintersteiger 1c9051016a Merge branch 'unstable' of https://git01.codeplex.com/z3 into ml-ng
Conflicts:
	scripts/mk_util.py
2015-01-24 18:29:03 +00:00
Christoph M. Wintersteiger 5e6ea4e570 added --x86 build flag 2015-01-20 19:03:49 +00:00
Christoph M. Wintersteiger ed0fa93245 Minor adjustments after rebase
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:35:19 +00:00
Christoph M. Wintersteiger c9fa77cc70 ML API: fixed Python 3.4 issues in the build scripts
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:17:59 +00:00
Christoph M. Wintersteiger e754aa1c11 Minor adjustments after rebasing ml-ng onto unstable.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:17:58 +00:00
Christoph M. Wintersteiger bb31014417 ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:17:14 +00:00
Christoph M. Wintersteiger 5c67b59685 ML API: Windows build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:17:12 +00:00
Christoph M. Wintersteiger 05f42b0073 ML API: build fixes? 2015-01-19 17:17:11 +00:00
Christoph M. Wintersteiger 93a20d9074 ML API: build fixes 2015-01-19 17:17:10 +00:00
Christoph M. Wintersteiger ea9fc43544 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:48 +00:00
Christoph M. Wintersteiger d47f143591 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:47 +00:00
Christoph M. Wintersteiger 198c6ef930 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:45 +00:00
Christoph M. Wintersteiger 4c28085022 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:45 +00:00
Christoph M. Wintersteiger ceabafa01c ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:44 +00:00
Christoph M. Wintersteiger 2ee4409962 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:43 +00:00
Christoph M. Wintersteiger 40c6be0baa ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:42 +00:00
Christoph M. Wintersteiger 93d7412950 ML API build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:41 +00:00
Christoph M. Wintersteiger b85c3e12f4 ML API build fix 2015-01-19 17:16:39 +00:00
Christoph M. Wintersteiger 5092ceec7d ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:37 +00:00
Christoph M. Wintersteiger 8cd74a825d ML API: Undoing earlier changes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:16:36 +00:00
Christoph M. Wintersteiger 7bd8dda766 ML API: bugfixes 2015-01-19 17:15:50 +00:00
Christoph M. Wintersteiger a1bb307dd1 ML API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:15:49 +00:00
Christoph M. Wintersteiger fe0b579426 ML API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:15:49 +00:00
Christoph M. Wintersteiger fa4dab4852 ML API: added .cmxs to the distribution.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:15:08 +00:00
Christoph M. Wintersteiger 05af33ac7d ML API: ocamlfind installation fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:13:52 +00:00
Christoph M. Wintersteiger 65ab6d5373 ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:13:51 +00:00
Christoph M. Wintersteiger 409a40a562 ML API: Added get_bit_int and get_ratio
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:13:51 +00:00
Christoph M. Wintersteiger 4687aa208d ML API refactoring (z3native.c -> z3native_stubs.c)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:11:19 +00:00
Christoph M. Wintersteiger f319a77a4c ML API build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:11:17 +00:00
Christoph M. Wintersteiger 133890be23 ML API build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:11:16 +00:00
Christoph M. Wintersteiger 9dc8021995 Added facilities for ocamlfind in the ML API build
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:11:15 +00:00
Christoph M. Wintersteiger 544a74f034 ML API: bug and build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:09:34 +00:00
Christoph M. Wintersteiger dcdcd7b140 ML API: Build system and error handling fixes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:08:09 +00:00
Christoph M. Wintersteiger 25615aedd9 ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:08:08 +00:00
Christoph M. Wintersteiger 7ec027dadb ML API: basic structure and interface
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:07:52 +00:00
Christoph M. Wintersteiger 364954e25a ML build
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:06:46 +00:00
Christoph M. Wintersteiger e57dbbb56d ML API: build system fixes 2015-01-19 17:06:16 +00:00
Christoph M. Wintersteiger f0e61ee523 ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:06:14 +00:00
Christoph M. Wintersteiger f94fa85444 ML API: build system fix 2015-01-19 17:04:48 +00:00
Christoph M. Wintersteiger 09292437db ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:04:24 +00:00
Christoph M. Wintersteiger 49dd2e4a07 ML API: build system changes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:03:40 +00:00
Christoph M. Wintersteiger 4a606dbe60 ML API: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:03:00 +00:00
Christoph M. Wintersteiger 3e8c1e3a29 ML API: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:02:58 +00:00
Christoph M. Wintersteiger 7eb95bf6c2 ML API: made native layer ANSI-C compliant to avoid compilation issues.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:02:57 +00:00
Christoph M. Wintersteiger 954d92a513 More new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:01:32 +00:00
Christoph M. Wintersteiger 7ae90f0b20 More ML API:
Fixes in native layer.
Added symbols.
Prepared code for automatic documentation.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:01:29 +00:00
Christoph M. Wintersteiger d8ed9be98e ML native layer bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 17:00:22 +00:00
Christoph M. Wintersteiger cfa099007a ML build system checks
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:59:51 +00:00
Christoph M. Wintersteiger 0e98d26721 ML API and example compilation.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:56:42 +00:00
Christoph M. Wintersteiger f7b3529f01 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:55:22 +00:00
Christoph M. Wintersteiger d2d4bf7f83 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:53:56 +00:00
Christoph M. Wintersteiger c4f07c7fd1 New native ML API layer.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:50:00 +00:00
Christoph M. Wintersteiger dcd6f1f697 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:49:26 +00:00
Christoph M. Wintersteiger a40433aae8 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:13:58 +00:00
Christoph M. Wintersteiger 1579da02b0 More new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:13:30 +00:00
Christoph M. Wintersteiger 90cb046684 Beginnings of a new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:12:13 +00:00
Christoph M. Wintersteiger decb09bb9e ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:39 +00:00
Christoph M. Wintersteiger 0fee9659ab ML API: Windows build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:36 +00:00
Christoph M. Wintersteiger 6022ae6873 ML API: build fixes? 2015-01-19 16:08:36 +00:00
Christoph M. Wintersteiger f0d66388d4 ML API: build fixes 2015-01-19 16:08:34 +00:00
Christoph M. Wintersteiger 1ce0cd3209 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:33 +00:00
Christoph M. Wintersteiger 5de8f88011 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:32 +00:00
Christoph M. Wintersteiger c7b73c98a5 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:31 +00:00
Christoph M. Wintersteiger b95ada16f3 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:30 +00:00
Christoph M. Wintersteiger 6e1e28dd58 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:30 +00:00
Christoph M. Wintersteiger 7d577eeb71 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:29 +00:00
Christoph M. Wintersteiger e11cc5a1f1 ML API: build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:08:28 +00:00
Christoph M. Wintersteiger fcee69af4b ML API build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:38 +00:00
Christoph M. Wintersteiger 5f9d1af04a ML API build fix 2015-01-19 16:07:38 +00:00
Christoph M. Wintersteiger 8b266cff52 ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:37 +00:00
Christoph M. Wintersteiger fc32a2e473 ML API: Undoing earlier changes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:36 +00:00
Christoph M. Wintersteiger 4109d19cec ML API: bugfixes 2015-01-19 16:07:34 +00:00
Christoph M. Wintersteiger bd9c863e6b ML API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:34 +00:00
Christoph M. Wintersteiger 45ec0c1b99 ML API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:33 +00:00
Christoph M. Wintersteiger 2a67befe9d ML API: added .cmxs to the distribution.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:31 +00:00
Christoph M. Wintersteiger 1e4b14af67 ML API: ocamlfind installation fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:07:00 +00:00
Christoph M. Wintersteiger 6394dde85d ML API: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:06:59 +00:00
Christoph M. Wintersteiger e2f0dc31f4 ML API: Added get_bit_int and get_ratio
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:06:59 +00:00
Christoph M. Wintersteiger e5932efc44 ML API refactoring (z3native.c -> z3native_stubs.c)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:05:40 +00:00
Christoph M. Wintersteiger 3228c3ff5c ML API build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:04:39 +00:00
Christoph M. Wintersteiger d0588c0565 ML API build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:03:36 +00:00
Christoph M. Wintersteiger a3d17a0e24 ML API build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:03:04 +00:00
Christoph M. Wintersteiger 3e336592a2 ML API: bug and build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 16:00:29 +00:00
Christoph M. Wintersteiger 09aa02759f ML API: Build system and error handling fixes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:53:21 +00:00
Christoph M. Wintersteiger 5f41a40a63 ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:53:18 +00:00
Christoph M. Wintersteiger 23febf13c4 ML API: basic structure and interface
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:52:08 +00:00
Christoph M. Wintersteiger 49cd4e2d35 ML build
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:51:45 +00:00
Christoph M. Wintersteiger 381d552f96 ML API: build system fixes 2015-01-19 15:51:37 +00:00
Christoph M. Wintersteiger be3fb0ef18 ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:51:36 +00:00
Christoph M. Wintersteiger 1865ca58c3 ML API: build system fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:51:35 +00:00
Christoph M. Wintersteiger b48c444978 ML API: build system fix 2015-01-19 15:51:35 +00:00
Christoph M. Wintersteiger 9d965b5fec ML API: build system fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:51:34 +00:00
Christoph M. Wintersteiger 9eea0f3232 ML API: build system changes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:51:33 +00:00
Christoph M. Wintersteiger 7aef3fa5c6 ML API: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:50:47 +00:00
Christoph M. Wintersteiger 35ef2d1c40 ML API: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:50:46 +00:00
Christoph M. Wintersteiger 297604bee2 ML API: linker fix 2015-01-19 15:50:23 +00:00
Christoph M. Wintersteiger d0591334a2 ML API: made native layer ANSI-C compliant to avoid compilation issues.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:49:56 +00:00
Christoph M. Wintersteiger 597409c8ac ML API bugfixes
More ML examples

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:49:55 +00:00
Christoph M. Wintersteiger d6a2048785 More new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:49:19 +00:00
Christoph M. Wintersteiger 794823ba6d More ML API:
Fixes in native layer.
Added symbols.
Prepared code for automatic documentation.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:49:16 +00:00
Christoph M. Wintersteiger 7efe7a2c16 ML native layer bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:48:40 +00:00
Christoph M. Wintersteiger 8e83f8d034 ML build system checks
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:46:54 +00:00
Christoph M. Wintersteiger c001da6188 ML API and example compilation.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:42:23 +00:00
Christoph M. Wintersteiger bea09539cf More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:42:18 +00:00
Christoph M. Wintersteiger 2dde851ed7 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:42:16 +00:00
Christoph M. Wintersteiger 8d30fabc0a New native ML API layer.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:40:40 +00:00
Christoph M. Wintersteiger 65ddf2be49 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:40:39 +00:00
Christoph M. Wintersteiger f5a0520b83 More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:40:37 +00:00
Christoph M. Wintersteiger 03a5c88ded More new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:40:10 +00:00
Christoph M. Wintersteiger 70f0d2f423 Beginnings of a new ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:38:52 +00:00
Nikolaj Bjorner f0c63e56f3 make module parameter validation and adjustment more flexible: you can use both module qualifiers and unqualified parameters from the API at local scope
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 16:27:40 -07:00
Christoph M. Wintersteiger 9949c7e31c fixed typos
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-09-18 17:09:22 +01:00
Christoph M. Wintersteiger fa24d9db6f Added multi processor compilation to VS project.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-09-01 17:27:07 +01:00
Christoph M. Wintersteiger 0df0174d62 .NET API: Enabled .xml documentation generation by default.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-08-08 15:24:08 +01:00
Ken McMillan c007a5e5bd merged with unstable 2014-08-06 11:16:06 -07:00
Christoph M. Wintersteiger b6c0b8c9ff Compilation fix for FreeBSD 2014-04-07 16:09:22 +01:00
Christoph M. Wintersteiger 83f88917a8 bugfix for python 2.6 2014-03-20 17:47:41 +00:00
Christoph M. Wintersteiger 07d56bdc70 Java API bugfixes for cygwin compilation
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-21 13:44:39 +00:00
Leonardo de Moura e077fc5cb4 fix(api/python): make sure Z3 compiles using Python3
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-20 14:09:55 -08:00
Christoph M. Wintersteiger b2be81fd4d bugfix for OSX build configuration 2014-01-22 13:41:48 +00:00
Christoph M. Wintersteiger 73a1dddc45 Bugfixes for the build on new OSX machines (XCode 5.0 on). 2014-01-21 17:06:13 +00:00
Ken McMillan 3a0947b3ba merged with unstable 2013-10-18 17:26:41 -07:00
Ken McMillan 2c9c5ba1f0 still working on interpolation of full z3 proofs 2013-09-15 13:33:20 -07:00
Nikolaj Bjorner 457b22b00e add TPTP example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-06 21:49:00 -07:00
Christoph M. Wintersteiger 6ce0e7cf25 .NET build changes to include /linkresource
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-07-15 12:22:01 +01:00
Leonardo de Moura efb6b2453e Move AssemblyInfo.cs AssemblyInfo. Update mk_util.py to generate AssemblyInfo.cs instead of modifying it.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-24 15:37:49 -07:00
Leonardo de Moura 205520ed6c Move AssemblyInfo.cs AssemblyInfo. Update mk_util.py to generate AssemblyInfo.cs instead of modifying it.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-24 15:34:42 -07:00
U-REDMOND\kenmcmil 28266786f3 porting to windows 2013-03-27 12:17:52 -07:00
Ken McMillan 78848f3ddd working on smt2 and api 2013-03-26 17:25:54 -07:00
Christoph M. Wintersteiger 21f69c2b3a Java API build bugfix. Thanks to Fabian Emmes for reporting this.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-03-12 12:27:08 +00:00
Ken McMillan 2b93537366 debugging interpolation 2013-03-06 18:26:46 -08:00
Ken McMillan ae9276ad9b more work on interpolation 2013-03-05 21:56:09 -08:00
Christoph M. Wintersteiger 14f582eca5 Java API: added automatic detection of jar
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-25 16:03:57 +00:00
Christoph M. Wintersteiger f5cdc14737 Java API: build system bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-25 15:44:54 +00:00
Christoph M. Wintersteiger ffb1fc37df Java API: New JDK detection routines.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-25 15:37:33 +00:00
Christoph M. Wintersteiger 2c6c09301f Java API: build system bugfixes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-21 16:46:18 +00:00
Christoph M. Wintersteiger 876c6a361e Java API: build system fix for OSX
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-21 16:40:10 +00:00
Christoph M. Wintersteiger 18bae81731 Java Example: build fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-02-19 22:48:41 +00:00
Leonardo de Moura 0c0fe40446 Fix Python 2.6 incompatibility at mk_util.py
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-13 19:03:37 -08:00
Leonardo de Moura 3f692b565a Add script for building Linux/OSX/FreeBSD distributions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-13 10:32:43 -08:00
Leonardo de Moura 60ce2a84cd Fix build hashcode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-13 09:16:38 -08:00
Leonardo de Moura 5790115e40 Include git hash in the binary
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-13 08:39:26 -08:00
Leonardo de Moura fa0bd4f789 Fix git_hash function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-13 08:16:08 -08:00
Leonardo de Moura 786f8029f1 Add missing DLLs for Java in Windows binary distribution package
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-06 09:26:10 -08:00