Skip to content

Build process for MathSAT5 for 32bit architectures #44

@PhilippWendler

Description

@PhilippWendler

We have decided that we won't build and ship 32bit binaries for solvers, but that we keep JavaSMT compatible to non-x86_64 platforms such that it works if people build and use their own solver binaries.

For this, we need to document for users how to build the respective binaries.

Furthermore, for MathSAT the build process on 32bit machines is broken because the compile.sh no longer accepts a path to the GMP lib but hard-codes the 64bit binaries that we have checked in.

There are also some compiler warnings for the MathSAT bindings on 32bit binaries, which we should check whether they actually break the code:

org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi.c: In function 'Java_org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi_msat_1get_1array_1index_1type':
org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi.c:271:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi.c: In function 'Java_org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi_msat_1get_1array_1element_1type':
org_sosy_1lab_solver_mathsat5_Mathsat5NativeApi.c:285:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions