Files
Z3Prover-z3/scripts
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
..
2021-07-30 22:38:56 -07:00
2021-01-29 06:47:10 -08:00
2022-08-15 07:55:45 -07:00
2016-01-04 21:04:07 +00:00
2012-10-23 12:12:59 -07:00
2023-07-09 11:56:10 -07:00
2016-02-14 19:57:21 +00:00
2026-01-05 07:23:05 -08:00
2025-03-02 19:23:19 -08:00
2019-02-27 14:43:39 -08:00
2021-07-10 15:20:56 +02:00
2012-10-25 18:46:37 -07:00
2023-11-28 16:50:28 -08:00
2019-06-11 11:52:42 -07:00
2021-07-29 11:32:20 -07:00
2019-06-12 08:35:34 -07:00
2019-06-12 01:25:43 -07:00
2016-01-04 21:04:07 +00:00
2025-10-29 12:48:58 -07:00
2020-07-26 12:03:03 -07:00
2018-03-20 13:37:04 -07:00

Instructions for updating external Z3 API
-----------------------------------------

The python "macros": def_Type() and def_API() are used to add new types and function definitions to the Z3 API.
The .h files provided to `mk_bindings(API_files)` contain these definitions.
See src\api\z3_api.h for many examples.

The bindings for .Net and Python are generated when mk_make.py is invoked.