[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46329] [PATCH] Add z3 OCaml bindings
From: |
Ludovic Courtès |
Subject: |
[bug#46329] [PATCH] Add z3 OCaml bindings |
Date: |
Fri, 19 Mar 2021 22:06:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello!
Julien Lepiller <julien@lepiller.eu> skribis:
> This patch adds the OCaml bindings for the z3 package. I install it to
> a separate output (but this only saves 3MB, maybe not that important).
> I'm thinking we could build other bindings too, and it would be nice to
> separate them also (after all, we probably don't need all of them at
> the same time :)).
It’d be ideal if these could be built separately. Like, we’d build z3,
and the ocaml-z3 package would depend on z3 (but use the same source
tarball as z3).
Does that seem feasible?
> One issue is that this package installs the bindings to the Z3 ocaml
> package. However, in opam, they override the install directory to be
> z3, so we might have issues with dependents. Do you think I should also
> override the name of the directory?
I guess it depends on which one is the most widespread convention.
>>From 651701f64eaa81baf57634fc36efdab4d263e2b6 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Tue, 2 Feb 2021 22:17:19 +0100
> Subject: [PATCH] gnu: z3: Build and install OCaml bindings.
>
> * gnu/packages/maths.scm (z3)[outputs]: Add ocaml output.
> [arguments]: Build and install OCaml bindings.
I think a separate package as outline above would be slightly nicer, but
otherwise this patch LGTM.
Thanks, :-)
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#46329] [PATCH] Add z3 OCaml bindings,
Ludovic Courtès <=