emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#51319: closed ([PATCH 0/2] Better interoperability between guix and


From: GNU bug Tracking System
Subject: bug#51319: closed ([PATCH 0/2] Better interoperability between guix and Julia built-in package manager)
Date: Thu, 10 Mar 2022 00:00:01 +0000

Your message dated Thu, 10 Mar 2022 00:59:35 +0100
with message-id <86pmmusmmw.fsf_-_@gmail.com>
and subject line Re: bug#51319: [PATCH 0/2] Better interoperability between 
guix and Julia built-in package manager
has caused the debbugs.gnu.org bug report #51319,
regarding [PATCH 0/2] Better interoperability between guix and Julia built-in 
package manager
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51319: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51319
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/2] Better interoperability between guix and Julia built-in package manager Date: Thu, 21 Oct 2021 13:06:56 +0000
With this patch, when a user install a package using Julia package manager,
the package manager finds packages that were already installed in the guix
profile and use them.

First patch of the serie does the implementation, the second patch is an 
example using
sundials_jll package.

Sundials_jll is a julia package that wraps the sundials library, it is 
typically not
installed on its own but as a dependency of DifferentialEquations.jl for 
example.

As DifferentialEquations.jl is not currently packaged in julia, a fallback is to
install it with julia package manager. Unfortunately that will also install
sundials_jll and downloads some .so that will fail to load on Guix because of
linker incompatilibities.

Now with the proposed patch, the user can install sundials_jll using guix,
and then julia package manager will use this package instead of downloading some
binary files.

As for the patch itself, it works by following more closely the directory
structure that Julia expects in JULIA_DEPOT_PATH. Namely the packages
subfolder should not contain packages but packages/XXXX/ where XXXX is
a string encoding package uuid and sha1 of package files.

$JULIA_DEPOT_PATH/packages was also used as JULIA_LOAD_PATH, this will not
work anymore as packages are behind a layer of XXXX sub directories.
So instead I added a new subfolder $JULIA_DEPOT_PATH/loadpath where the package
is installed and $JULIA_DEPOT_PATH/packages/XXXX is a symlink to it.

Jean-Baptiste Volatier (2):
  build-system/julia: Enable Julia Pkg to find installed packages
  gnu: Add julia-sundials-jull

 gnu/packages/julia-jll.scm        | 38 +++++++++++++++++++++++++
 gnu/packages/julia-xyz.scm        |  2 +-
 gnu/packages/julia.scm            |  2 +-
 gnu/packages/maths.scm            | 24 ++++++++++++++++
 guix/build/julia-build-system.scm | 46 ++++++++++++++++++++++++++++---
 5 files changed, 106 insertions(+), 6 deletions(-)

--
2.33.1





--- End Message ---
--- Begin Message --- Subject: Re: bug#51319: [PATCH 0/2] Better interoperability between guix and Julia built-in package manager Date: Thu, 10 Mar 2022 00:59:35 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi Ludo,

On Thu, 10 Mar 2022 at 00:33, Ludovic Courtès <ludo@gnu.org> wrote:

>   https://issues.guix.gnu.org/51319
>
> Could you take a look and apply them if appropriate?

>From my understanding, already applied with
3af351a7de41b8d50f27f3623c46392f571b9a4e and
546f8537aad3ac03fef43e036d3cab3abc943915.  Therefore, I am closing.

Thanks for taking care.

Cheers,
simon

PS: The feature pointed in the Guix-HPC report, IIRC. ;-)


--- End Message ---

reply via email to

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