mirror of
https://github.com/Z3Prover/z3
synced 2026-06-08 12:59:34 +00:00
b716d6350a
* 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>
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.