diff options
| author | pjotrp <pjotr.public01@thebird.nl> | 2026-10-18 14:29:57 +0200 |
|---|---|---|
| committer | pjotrp <pjotr.public01@thebird.nl> | 2026-10-18 14:29:57 +0200 |
| commit | b8ac1241e48d8cb71dd16322a3f1c9879a63beaa (patch) | |
| tree | ee7bab3ac35dbd727ec15fe53595ee8c79826223 | |
| parent | 397732300606ad7b7b14139d364f2c17466a0603 (diff) | |
| download | guix-bioinformatics-julia-bump.tar.gz | |
Add info on julia binary inclusion julia-bump
| -rw-r--r-- | gn/packages/julia-bin.scm | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/gn/packages/julia-bin.scm b/gn/packages/julia-bin.scm index 0f3f1fd..58e7b65 100644 --- a/gn/packages/julia-bin.scm +++ b/gn/packages/julia-bin.scm @@ -9,14 +9,38 @@ ;;; ;;; The tarball is built for a generic glibc system and expects an FHS ;;; /lib64 loader; we patchelf every ELF file to the store's glibc and add -;;; the gcc runtime libraries to the run path. +;;; the gcc runtime libraries to the run path. It also bundles its own +;;; libcurl, so Julia's Downloads does not hit the Julia 1.8 + +;;; system-libcurl crash ("curlmultiassign") that the Guix source build +;;; suffers from. ;;; -;;; Status (julia-bump branch): this packages and runs Julia 1.10.9. The -;;; existing notebook stack (Pluto 0.19.9 and friends) does NOT yet load on -;;; it -- the first failures are MLStyle ("type DataType has no field -;;; size"), then Expronicon, Configurations and Pluto. Bumping those (and -;;; whatever they pull in) to versions that support Julia 1.10 is the -;;; remaining work; see julia-pluto et al. in gn/packages/julia.scm. +;;; Status (julia-bump branch): this packages and runs Julia 1.10.9, and +;;; the modern notebook stack (Pluto 1.0, PlutoSliderServer 1.9) runs on +;;; it -- see pluto-notebook in gn/packages/julia.scm. +;;; +;;; A from-source Julia 1.10 was also attempted, as `julia-1.10` in +;;; gn/packages/julia-source.scm (which inherits the 1.8.5 recipe from +;;; (gnu packages julia)). It does not yet build. It gets through LLVM +;;; 15 (built from source), the three deps that 1.8 did not have (the +;;; Julia LLVM fork, JuliaSyntax and ittapi -- seeded into deps/srccache +;;; from origins), and most of julia-base; it then fails compiling Julia's +;;; own src/pipeline.cpp: +;;; +;;; error: use of deleted function +;;; 'llvm::PassManager<...>::PassManager(const llvm::PassManager<...>&)' +;;; +;;; Julia 1.10 copies PassManager, which only works with Julia's patched +;;; LLVM fork, whereas the Guix recipe links Julia against *system* LLVM +;;; (USE_SYSTEM_LLVM, and libLLVM_jll symlinked to the system library). +;;; Finishing the source build therefore needs the recipe reworked to +;;; build and use the fork's LLVM (drop USE_SYSTEM_LLVM and the llvm +;;; input, and rework the shared-objects-paths phase), plus likely more +;;; (e.g. SuiteSparse 7 library names). Upstream Guix is still on Julia +;;; 1.8.5 for the same reason, so there is no newer recipe to borrow. +;;; +;;; julia-bin is the supported way to get Julia 1.10 here; `julia-1.10` +;;; (julia-source.scm) is kept as work-in-progress documentation of how +;;; far a from-source build gets and where it is blocked. (define-module (gn packages julia-bin) #:use-module (gnu packages) |
