3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-04 08:16:17 +00:00
Commit graph

1889 commits

Author SHA1 Message Date
Copilot
20e19b97ee
Fix NuGet packaging to handle dynamic glibc versions (#8474)
* Initial plan

* Fix NuGet package to support any glibc version

Make mk_nuget_task.py more robust by using pattern matching for glibc versions
instead of hardcoding specific versions. This fixes the issue where builds with
newer glibc versions (e.g., 2.39) were not recognized, causing the linux-x64
runtime to be missing from the NuGet package.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Optimize regex patterns with non-capturing groups

Use non-capturing groups (?:) instead of capturing groups () for better
performance, as the captured groups are not used.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-02 09:16:27 -08:00
Copilot
1bf068299d
Add .github/workflows/nightly.yml to update_version.py (#8236)
* Initial plan

* Add update_github_nightly_yml function to update .github/workflows/nightly.yml

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-18 09:35:40 -08:00
Copilot
b716d6350a
Fix mk_unix_dist.py cross-compilation from ARM to x64 on macOS (#8222)
* Initial plan

* Add support for ARM to X64 cross-compilation on macOS

- Initialize LINUX_X64 from mk_util.LINUX_X64
- Add support for --arch=x64 flag to force x64 builds
- Handle cross-compilation from ARM64 to x64 on macOS using -arch x86_64 flags
- Update help text to reflect both arm64 and x64 architecture options

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Fix cross-compilation detection using HOST_IS_ARM64

Use separate HOST_IS_ARM64 variable to track the host architecture,
allowing proper detection of ARM to x64 cross-compilation scenarios.
This ensures the correct compiler flags are set when building x64
on ARM hosts.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Address code review: improve arch flag handling

- Extract target_arch_flag to variable to reduce duplication
- Add .strip() calls to handle trailing spaces in environment variables
- Ensure proper spacing in concatenated flags

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-17 10:19:10 -08:00
Copilot
2436943794
Standardize for-loop increments to prefix form (++i) (#8199)
* Initial plan

* Convert postfix to prefix increment in for loops

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Fix member variable increment conversion bug

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Update API generator to produce prefix increments

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-14 19:55:31 -08:00
Copilot
896e297bd4
Update ARM GCC toolchain to 13.3 for C++20 std::format support (#8196)
* Initial plan

* Update ARM GCC toolchain from 11.2 to 13.3 for C++20 std::format support

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-14 17:09:06 -08:00
Nikolaj Bjorner
fbf65c5d76 increase timeout on windows build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-05 09:09:57 -08:00
Simon Sobisch
c390afa279
AIX compat (#8113)
* fix name conflict for struct proc

* aix compat
2026-01-05 07:23:05 -08:00
Nikolaj Bjorner
97acdb85a2 remove flight test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 14:40:43 -08:00
Nikolaj Bjorner
0c8a219fc4 next flight test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 13:36:57 -08:00
Nikolaj Bjorner
a0554b154a update to macos-latest
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 12:17:09 -08:00
Nikolaj Bjorner
880cf0129b naming convention
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 12:14:13 -08:00
Nikolaj Bjorner
feda43a2ac indent
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 12:13:02 -08:00
Nikolaj Bjorner
db46a1195b flight test copilot generated slop?
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-21 11:56:19 -08:00
Nikolaj Bjorner
15274cdf53 fix type for BoolPtr
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-11-25 21:15:51 -08:00
Nikolaj Bjorner
e178b9fc62 update java API code to work with boolean pointers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-11-25 20:54:49 -08:00
Josh Berdine
4af83e8501
Return sign from Z3_fpa_get_numeral_sign as bool instead of int (#8047)
The underlying `mpf_manager::sgn` function returns a `bool`, and functions
such as `Z3_mk_fpa_numeral_int_uint` take the sign as a `bool`.

Signed-off-by: Josh Berdine <josh@berdine.net>
2025-11-25 18:10:38 -08:00
Guido Martínez
32e9440855
mk_util.py: fix --gprof option (#8040)
The addition of -fomit-frame-pointer was missing a space (which broke
the command line), but also this option should be added only if -pg is
*not* given, as they are incompatible. So, just remove this line to fix
the --gprof flag in configure.

Also, this option is implied by any level of `-O`, so there is no need
to pass it explicitly in most cases. It could be added to debug,
non-profile builds, but I'm not sure that's useful.
2025-11-23 16:42:05 -08:00
Copilot
62cd39729f
Fix NuGet package missing Microsoft.Z3.dll due to inverted replace() logic (#8029)
* Initial plan

* Fix NuGet packaging and add GitHub Actions workflow

- Fixed critical bug in mk_nuget_task.py replace() function
- Created comprehensive GitHub Actions workflow for building NuGet packages

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Add documentation and improve code comments

- Added comprehensive README for NuGet build workflow
- Added detailed comments explaining the replace() function fix
- Verified all Python syntax is correct

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-11-16 11:46:16 -08:00
Nikolaj Bjorner
8c6b1f420c disable nuget
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-31 07:47:17 -07:00
Nikolaj Bjorner
87d1131620 bump version for release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-29 12:48:58 -07:00
Nikolaj Bjorner
6efffa0054 renemable Centos AMD nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 18:55:47 -07:00
Nikolaj Bjorner
766eaa3376 disable centos build until resolved
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 15:12:05 -07:00
hwisungi
2bf1cc7d61
Enabling Control Flow Guard (CFG) by default for MSVC on Windows, with options to disable CFG. (#7988)
* Enabling Control Flow Guard by default for MSVC on Windows, with options to disable it.

* Fix configuration error for non-MSVC compilers.

* Reviewed and updated configuration for Python build and added comment for CFG.
2025-10-22 14:18:25 +02:00
Copilot
6eee8688c2
Add Windows ARM64 builds to NuGet packages for nightly and release pipelines (#7847)
* Initial plan

* Add Windows ARM64 builds to NuGet packages for nightly and release pipelines

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-09-03 19:03:51 -07:00
Copilot
449704ef64
Enable ARM64 support in .NET NuGet package (#7846)
* Initial plan

* Enable ARM64 support in .NET NuGet package by adding Linux ARM64 and macOS ARM64 to os_info mapping

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-09-03 15:20:54 -07:00
Nikolaj Bjorner
1bed5a4306 remove double tweak versioning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-26 09:51:11 -07:00
Copilot
300e0ae69e
Move VERSION.txt to scripts directory and update all references (#7811)
* Initial plan

* Move VERSION.txt to scripts/ and update all references

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-24 16:36:05 -07:00
Nikolaj Bjorner
7e6e96f6aa remove resources directive again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-23 11:44:55 -07:00
Nikolaj Bjorner
12e74783b6 add resources
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-23 11:40:57 -07:00
Solal Pirelli
4792068517
Attempt at adding the README to the NuGet package (#7807)
* Attempt at adding README to NuGet package

* Forgot to enable publishing
2025-08-23 11:15:51 -07:00
Copilot
64419ad85b
Update nightly.yaml to match release.yml NuGet tool installer changes (#7810)
* Initial plan

* Update nightly.yaml to match release.yml NuGet tool installer changes

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-23 11:15:21 -07:00
Copilot
265265a68c
Create centralized version management with VERSION.txt (#7802)
* Initial plan

* Create VERSION.txt and update CMakeLists.txt to read version from file

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Complete centralized version management system

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Fix version update script and finalize implementation

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Create centralized version management with VERSION.txt

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-20 09:12:33 -07:00
Nikolaj Bjorner
4542fc0b3b update version number to 4.15.4
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-17 17:09:56 -07:00
Nikolaj Bjorner
a121e6c6e9 enable pypi public
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-15 16:09:34 -07:00
Copilot
7b8482a093
Remove NugetPublishNightly stage from nightly.yaml (#7787)
* Initial plan

* Remove NugetPublishNightly stage from nightly.yaml

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-15 09:51:25 -07:00
Nikolaj Bjorner
174d64c4d9 fix releaseNotesSource to inline
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-14 14:43:13 -07:00
Nikolaj Bjorner
baa0588fbe remove automata from python build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-07 21:07:52 -07:00
Nikolaj Bjorner
fa3d341b18 add on_binding callbacks across APIs
update release notes,
add to Java, .Net, C++
2025-08-07 12:55:50 -07:00
Lev Nachmanson
30830aae75 rename a Python file
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-07 08:33:04 -07:00
Nikolaj Bjorner
31a30370ac add Z3_solver_propagate_on_binding to ml callback declarations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-07 05:53:59 -07:00
Nikolaj Bjorner
b33f444545 add an option to register callback on quantifier instantiation
Suppose a user propagator encodes axioms using quantifiers and uses E-matching for instantiation. If it wants to implement a custom priority scheme or drop some instances based on internal checks it can register a callback with quantifier instantiation
2025-08-06 21:11:55 -07:00
Nikolaj Bjorner
195f3c9110 update build dependencies 2025-07-07 16:50:35 +02:00
Nikolaj Bjorner
b1259fb6ce Update nightly.yaml for Azure Pipelines 2025-06-28 16:11:16 -07:00
Nikolaj Bjorner
2f2289eaff update minor version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-06-25 09:14:13 -07:00
Nikolaj Bjorner
bd3e722b6b remove nuget signing steps 2025-06-24 07:18:49 -07:00
Nikolaj Bjorner
a3c8bbb461
Update build-win-signed-cmake.yml 2025-06-19 10:18:03 -07:00
Nikolaj Bjorner
bce1be47b8
Update build-win-signed.yml 2025-06-19 10:17:39 -07:00
Nikolaj Bjorner
ffb0bd9f11
Update nightly.yaml
remove esrp
2025-06-19 10:12:26 -07:00
Nikolaj Bjorner
e1661759db update version to 4.15.2 2025-06-10 15:55:54 -07:00
Nikolaj Bjorner
b665c99d06 add missing dependencies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-06-09 13:05:09 -07:00