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

159 commits

Author SHA1 Message Date
Jakob Rath
1df749ad33 Merge branch 'master' into polysat 2022-09-23 17:14:26 +02:00
gmh5225
b0d0c36b11
Add option 'MSVC_STATIC' (#6358)
* Add option 'MSVC_STATIC'

* Update CMakeLists.txt

* Update CMakeLists.txt

* Upload msvc-static-build.yml
2022-09-22 15:55:40 -05:00
Nikolaj Bjorner
ff679e0fce increment version number 2022-09-11 19:02:44 -07:00
Nikolaj Bjorner
8e6f17ebd0 inc version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-09-03 15:47:12 -07:00
Nikolaj Bjorner
540e36e6cb roll version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-18 15:47:08 -07:00
Jakob Rath
d7f0181c46 Merge branch 'master' into polysat 2022-08-04 08:53:34 +02:00
Bruce Mitchener
dc75031a36 Remove all per-OS defines apart from _WINDOWS.
These are all unused and shouldn't be needed. Mostly we need
something for differentiating between POSIX and non-POSIX
(until we can reduce some of those differences as well).

We shouldn't need to modify the build system to build on a new
OS if it is basically a Unix and is supported by cmake.
2022-08-03 19:03:04 +03:00
Bruce Mitchener
85b96dc877 cmake: Remove telling the Intel compiler to link OpenMP.
This also removes a duplicated branch since the Intel compiler
is already handled at the same time as GCC and Clang, so it
doesn't need its own block as well.
2022-08-03 19:02:12 +03:00
Bruce Mitchener
42f5047463 cmake: Cleanup remnants of workaround for USES_TERMINAL.
In older versions, this was dependent upon the version of cmake,
but when it was updated for newer cmake, these remnants were
left.
2022-08-02 17:39:10 +03:00
Jakob Rath
e105a91d4a Merge branch 'master' into polysat 2022-08-02 11:31:01 +02:00
Bruce Mitchener
b3612264a9 Use cmake properties for symbol visibility and PIC. 2022-08-02 09:32:03 +03:00
Bruce Mitchener
9a99c78ffb Enable thread_local code more broadly.
This was only being enabled on Windows, Linux, and FreeBSD. (FreeBSD
only had it enabled in the legacy build system, not in cmake.)

`thread_local` is part of C++11, so now that we require C++17
or later and more recent compilers, this should work everywhere
that threading does, so only disable it within a `SINGLE_THREAD`
build.
2022-08-02 09:24:51 +03:00
Jakob Rath
220a63e8bd Merge branch 'master' into polysat 2022-08-01 11:27:49 +02:00
Nikolaj Bjorner
a6fe260354 update minor versin number to ABI change to remove Z3_bool from z3_api.h
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-30 06:31:22 +02:00
Nikolaj Bjorner
591d485358 update versions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-30 05:26:43 +02:00
Nikolaj Bjorner
3a8eb1e7ec increase version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-22 12:43:19 -07:00
Nikolaj Bjorner
845e852dba increment to include python fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-22 11:44:32 -07:00
Nikolaj Bjorner
adcb3e8f86 set version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-21 20:27:50 -07:00
Jakob Rath
e168d8a2eb Merge branch 'master' into polysat 2022-07-21 12:56:50 +02:00
Victor Paléologue
8b29f40152
Fix build on Mac (#6146)
* Fix finding Python on Mac

On Mac you have to specify the version.
It also works well on other platforms this way.

* Ignore CMake build directories from index

* Fix warning about unused variable in release

The variable is used in debug only,
but it's legit that the compiler does not warn us for that in release.
2022-07-11 09:46:23 -07:00
Nikolaj Bjorner
9d9414c111 inc version number 2022-07-06 14:00:40 -07:00
Nikolaj Bjorner
cc841caf08 increment minor version for dev branch
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-06 10:15:34 -07:00
Nikolaj Bjorner
282c786f1c setting version to release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 11:51:12 -07:00
Jakob Rath
003896991d fix merge 2022-07-01 17:16:40 +02:00
Nikolaj Bjorner
3ae781039b inc version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-05 07:09:54 -07:00
Nikolaj Bjorner
33ffd464cf inc version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-04-24 12:17:07 +01:00
Nikolaj Bjorner
1953165422 set ARM64 if detected under OSX 2022-04-07 08:35:56 +02:00
Nikolaj Bjorner
a418678cd4 increment version number 2022-03-20 14:34:34 -07:00
Han Gao
3d87d86c28
github action: add riscv64/aarch64/powerpc64 cross compile (#5897)
* github action: add riscv64/aarch64/powerpc64 cross compile

Signed-off-by: Han Gao <rabenda.cn@gmail.com>

* fix: build on non-x86 platform

Signed-off-by: Revy <rabenda.cn@gmail.com>
2022-03-16 07:30:20 -07:00
Nikolaj Bjorner
ecf41972b1 increase minor version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-12-23 14:41:52 -08:00
Nikolaj Bjorner
4587575649 if you read this commit message you probably are a programmer who has no life
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-11-18 20:25:47 -08:00
Nikolaj Bjorner
a3010c8875 version inc, bvsort->bitvecsort 2021-07-13 17:14:47 +02:00
Nikolaj Bjorner
10ad5bae21 increment version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-11 06:17:58 +02:00
Nuno Lopes
7cda90c06a cmake: build with -fvisibility-inlines-hidden 2021-06-04 19:51:40 +01:00
Rolf Eike Beer
7f8e2a9f75
clean up CMake code (#5182)
* CMake: simplify FindGMP.cmake

Remove printing of all the different variables, and let FPHSA output the library
name. Add an imported target, which bundles the library and the include
directories for easier usage.

* fix build: vector::c_ptr() now is vector::data()

* CMake: use Threads::Threads imported module

Otherwise the setting of THREADS_PREFER_PTHREAD_FLAG has no effect.

* CMake: remove needless policy setting

The minimum required version is CMake 3.4, where these policies are already set
to new because they were introduced earlier.

* CMake: remove needless variable expansion
2021-04-14 10:29:15 -07:00
Andrew V. Jones
e8917a1a9f
Correcting 'String' to 'STRING' to resolve CMake warning (#5091)
Signed-off-by: Andrew V. Jones <andrewvaughanj@gmail.com>
2021-03-09 15:14:57 -08:00
Nuno Lopes
d396d46bd1 let's test if all the buildbots are happy with C++17
it's stil a bit too early for C++20
2021-02-18 18:13:10 +00:00
Nikolaj Bjorner
fb48481860 update version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-20 12:51:48 -08:00
Ding Fei
da0e140e1c
fix git dir for git-dependency in cmake (#4759)
This is not fixed as #1993 stated.

Co-authored-by: Ding Fei <fei.ding@ustchcs.com>
2020-10-28 10:08:13 -07:00
Nikolaj Bjorner
d56dd1db7b update version'
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-09-11 04:37:35 -07:00
4dc7089cc4
add android support (#4545)
built successfully in termux on aarch64 android 10 using:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr/ -DCMAKE_INSTALL_Z3_CMAKE_PACKAGE_DIR=/data/data/com.termux/files/usr/lib/cmake/z3 <path/to/z3>
2020-06-26 14:58:01 -07:00
FabianWolff
30a3618ebf
Fix build failure on riscv64 (#4506) 2020-06-07 12:27:54 -07:00
Anton Kochkov
7e84a48069
Add pkg-config file (#4368)
* Add pkg-config file

* Copy z3.cmake.in to the Docker for CI
2020-05-21 09:10:41 -07:00
Nikolaj Bjorner
17b8db95c1 inc version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-08 15:05:01 -07:00
Alberto Garcia Illera
53c14bd554
Use Position Independent Code flag on Static library builds (#4043)
Not compiling libz3 with `-fPIC` may lead to errors when using it in his static flavor from a shared library.

Related https://github.com/Z3Prover/z3/issues/4038
2020-04-22 10:52:05 -07:00
Nikolaj Bjorner
17fb07875d follow up on #2737
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-25 08:35:28 -08:00
Nikolaj Bjorner
a0dcad0221 fix #2708
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-19 21:36:13 -08:00
Nikolaj Bjorner
e45bafe9bf increase version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-19 14:17:48 -08:00
Nikolaj Bjorner
3669543553 rename additional build options #2709
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 23:06:48 -08:00
Nikolaj Bjorner
48554f0fb6 rename additional build options #2709
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 21:07:12 -08:00