guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealing with language bindings for libraries.


From: Julien Lepiller
Subject: Re: Dealing with language bindings for libraries.
Date: Wed, 9 May 2018 20:00:00 +0200

Le Wed, 9 May 2018 18:25:13 +0200,
Konrad Hinsen <address@hidden> a écrit :

> On 09/05/2018 17:21, Fis Trivial wrote:
> 
> > An ideal scenario would be the one that we can specify multiple
> > outputs for one packages, each output corresponds to one language
> > binding, and we can specify different dependencies and build system
> > for each output. Is there any chance we can do that in guix?  
> 
> +1
> 
> I am currently in exactly the same situation.
> 
> Konrad.

We already have such a case: capstone and python-capstone. There is no
redundancy since python-capstone knows how to load the shared library
created in the capstone package. So we have two packages, with the same
build time as with one package, but much easier to create. The only
difficulty is to make the binding find the library (but the same would
be true for different outputs I guess).

HTH



reply via email to

[Prev in Thread] Current Thread [Next in Thread]