-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use z3 ocaml bindings? #727
Comments
Nevermind. I found the instruction here: It says:
|
@necto Building the OCaml bindings has not been implemented for the CMake build system yet. I don't have time to do it now but contributions are welcome. |
Why does Z3 have multiple build systems (CMake, automake configure script, custom python scripts)? |
I will try to integrate the OCaml bindings into the CMake build system once I can spare some time. They should work with the custom (python-based) build system. |
@necto The python/Makefile based build sytem ( The CMake build system is not officially supported but I'm hoping it will be accepted as a replacement build system once it reaches feature parity with the old build system. Until that happens we need to have the two build systems exist in parallel with each other. |
Super, I mostly use the cmake based system and i would assume many others do. Dan did a super job. For Adding missing targets it helps knowing how to operate cmake and also having use of the new target. |
@martin-neuhaeusser: Fantastic, thanks for tackling this one! They should indeed work with the current build system, but we recently had a bug report about the bytecode version not working (#724), so something may have changed in OCaml land again. |
so the status of this is still open and related to #986? |
@NikolajBjorner Yes I've not had time to implement the OCaml bindings for the CMake build system. It's rather a lot of work and there's no benefit for me so I have very little motivation to do the work. I will have some free time in a few months to do this but of course if someone else wants to tackle this I'll happily review the changes. |
@delcypher, of course. Martin is an ocaml user and expressed intent to do something. The cmake system has so other advantages. |
I will have a look into this - sadly, time has been a rather limited resource :-( |
@martin-neuhaeusser Have you had a chance to look at implementing the OCaml bindings for CMake? I have a bit of spare time over the next few weeks so I can start implementing this if you haven't already. |
Hello, I was searching over the internet how to use ml bindings, and found only entries from the year 2012 and older.
The readme in
examples/ml
promises that the example will be compiled together, but it does not. After I doI found only c, c++ and tptp examples in the
build/examples
. There is no trace of any OCaml binary.The text was updated successfully, but these errors were encountered: