* gnu/packages/julia.scm (julia)[phases]{enable-parallel-tests}: Use
PARALLEL-TESTS?, not PARALLEL-BUILD?. Remove comment.
* gnu/packages/patches/julia-allow-parallel-build.patch: Move explanatory
comment to the top of the patch.
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Commit e0e2316420 updated libgit2 to version 1.3.0, but julia seems to only
support 1.1.0 for now.
* gnu/packages/julia.scm (julia): Delete trailing #t.
[phases]{enable-parallel-tests}: New phase.
[inputs]: Use libgit2-1.1.
Reported-by: zimoun <zimon.toutoune@gmail.com>
Inheritance should happen within the same module.
* gnu/packages/julia.scm (julia-patch): Make public.
(llvm-julia): Move to...
* gnu/packages/llvm.scm (llvm-julia): ... here.
Inheritance should happen within the same module.
* gnu/packages/julia.scm (libuv-julia): Move to...
* gnu/packages/libevent.scm (libuv-julia): ... here.
Julia's built-in package manager (Pkg) looks for packages in
JULIA_DEPOT_PATH/packages/PACKAGENAME/XXXX, where XXXX is a string
encoding package UUID and SHA1 of files. The link-depot phase creates
a link at the correct location to allow Pkg to find packages that were
already installed by Guix.
* guix/build/julia-build-system.scm (link-depot): New phase.
(%package-path): Modified package path from packages/ to loadpath/.
(project.toml->uuid): New procedure, retrive package uuid from TOML file.
(precompile, check): Adjust to the change in paths.
(%standard-phases): Add link-depot phase.
(julia-build): Add julia-package-uuid keyword.
* guix/build-system/julia.scm (julia-build): Also use the
julia-package-uuid keyword.
* gnu/packages/julia-jll.scm (julia-bzip2-jll, julia-cairo-jll,
julia-compilersupportlibraries-jll, julia-expat-jll, julia-ffmpeg-jll,
julia-fontconfig-jll, julia-freetype2-jll, julia-fribidi-jll,
julia-gettext-jll, julia-glib-jll, julia-gr-jll, julia-gumbo-jll,
julia-imagemagick-jll, julia-jllwrappers-jll, julia-jpegturbo-jll,
julia-lame-jll, julia-libass-jll, julia-libfdk-aac-jll,
julia-libffi-jll, julia-libgcrypt-jll, julia-libglvnd-jll,
julia-libgpg-error-jll, juli-libiconv-jll, julia-libmount-jll,
julia-libpng-jll, julia-libsass-jll, julia-libtiff-jll,
julia-libuuid-jll, julia-libvorbis-jll, julia-lzo-jll,
julia-mbedtls-jll, julia-ogg-jll, julia-openspecfun-jll,
julia-openssl-jll, julia-opus-jll, julia-pcre-jll, julia-pixman-jll,
julia-qt5base-jll, julia-wayland-jll, julia-wayland-protocols-jll,
julia-x264-jll, julia-x265-jll, julia-xkbcommon-jll, julia-xml2-jll,
julia-xorg-libpthread-stubs-jll, julia-xorg-libx11-jll,
julia-xorg-libxau-jll, julia-xorg-libxcb-jll, julia-xorg-libxcursor-jll,
julia-xorg-libxdmcp-jll, julia-xorg-libxext-jll,
julia-xorg-libxfixes-jll, julia-xorg-libxi-jll,
julia-xorg-libxinerama-jll, julia-xorg-libxkbfile-jll,
julia-xorg-libxrandr-jll, julia-xorg-libxrender-jll,
julia-xorg-xcb-util-jll, julia-xorg-xcb-util-keysyms-jll,
julia-xorg-xcb-util-renderutil-jll, julia-xorg-xcb-util-wm-jll,
julia-xorg-xkbcomp-jll, julia-xorg-xkeyboard-config-jll,
julia-xorg-xtrans-jll, julia-xslt-jll, julia-zlib-jll, julia-zstd-jll)
[argument]: Adjust the order of the phases to the change in the
julia-build-system.
* gnu/packages/julia-xyz.scm (julia-bufferedstreams, julia-calculus,
julia-dataframes, julia-datavalues, julia-distances, julia-documenter,
julia-dualnumbers, julia-ellipsisnotation, julia-expronicon,
julia-fileio, julia-fixedpointnumbers, julia-functionwrappers,
julia-fuzzycompletions, julia-genericlinearalgebra, julia-genericschur,
julia-geometrybasics, julia-imagemagick, julia-infinity,
julia-matrixfactorizations, julia-media, julia-missings, julia-nnlib,
julia-optimtestproblems, julia-orderedcollections, julia-prettytables,
julia-pycall, julia-quadmath, julia-safetests, julia-stackviews)
[arguments]: Correct paths to reflect change of %package-path modify
order of phases as link-depot needs to run on an unmodified src
directory add package-name-uuid keyword argument to packages without
Project.toml file.
* gnu/packages/julia.scm (julia)[native-search-paths]: Correct paths to
reflect change of %package-path modify order of phases as link-depot
needs to run on an unmodified src directory.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
LLVM bundled in the binary julia distributed by upstream has its
version with a "jl" suffix. The llvm-julia package does not have
this suffix, which causes some packages (e. g. LLVM.jl) to fail to
load.
LLVM.jl does this in order to be sure that it is loading a LLVM as
patched for julia and not LLVM from the distribution which will
lack the correct patches on distribs other than GUIX.
I guess there might be other packages that rely on this, so we
should fix our llvm-julia package.
* gnu/packages/julia.scm (llvm)
[source]: Add missing upstream patch
[arguments]: Add configure-flag to set a "jl" suffix to llvm version
(julia)[arguments]: Symlink llvm to llvm-11jl.so
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/julia.scm (julia): Update to 1.6.1.
[arguments]: Adjust custom 'prepare-deps phase. Remove custom
'fix-precompile phase. Add new 'shared-objects-path phase to fix paths
to shared objects. Add new 'adjust-test-suite phase to adjust for
differences in bundled vs packaged libraries. Adjust custom
'disable-broken-tests phase for new version. Add symlinks to libs in
'symlink-libraries phase. In make-flags add more finegrained compilation
targets for x86_64-linux. Update make-flags for changes since last
version.
[inputs]: Add nghttp2:lib, gfortran:lib, curl-ssh. Remove arpack-ng,
curl. Sort alphabetically.
[native-inputs]: Add nss-certs. Sort alphabetically.
(libuv-julia): Update to newer revision.
(libunwind-julia)[source]: Add new patch.
(llvm-julia): Inherit from llvm-11.
[source]: Update patch list.
[arguments]: Apply minority of the Julia specific patches in
'julia-patches phase.
[inputs]: Add julia patches.
Co-Authored-By: Nicolò Balzarotti <nicolo@nixo.xyz>.
Co-Authored-By: zimoun <zimon.toutoune@gmail.com>.
Co-Authored-By: Efraim Flashner <efraim@flashner.co.il>.
* gnu/packages/julia.scm (julia): Update to 1.6.2.
[arguments]: Add phase to adjust the expected number of precompile
statements. Adjust custom 'disable-broken-tests phase to remove fixed
test.
[native-inputs]: Remove nss-certs.
* gnu/packages/arcan.scm (arcan)[arguments]: Use
'search-input-directory' for "include/libdrm" and "include/apr-1".
* gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish.
* gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers.
* gnu/packages/cedille.scm (cedille): Likewise for IAL headers.
* gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx
headers.
* gnu/packages/cups.scm (hplip): Likewise for libusb headers.
* gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers.
* gnu/packages/game-development.scm (python2-renpy): Likewise for
fribidi headers.
* gnu/packages/games.scm (pokerth): Likewise for libircclient.
* gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile.
* gnu/packages/hurd.scm (hurd): Likewise for libtirpc.
* gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for
libcxx, catch2, and nlohmann-json-cpp.
* gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's
errno.h.
* gnu/packages/kde-pim.scm (kdepim-runtime): Use
'search-input-directory' for "include/KF5".
(kmessagelib): Likewise.
* gnu/packages/kde.scm (kdeconnect): Likewise.
* gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc.
* gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband".
* gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h"
and "aspell.h".
* gnu/packages/radio.scm (dream): Use 'search-input-file' and
'search-input-directory' for pulseaudio, sndfile, etc.
* gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and
libaudit.
* gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for
libcxx.
* gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5".
* gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest".
(libopenshot): Likewise for "include/UnitTest++".
* gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for
protobuf file.
* gnu/packages/julia.scm (julia): Update to 1.5.3.
(libuv-julia): Update to 1fcc6d66f9df74189c74d3d390f02202bb7db953.
(julia-patch): Update version. No change to patches.
* gnu/packages/julia.scm (libuv-julia): No change to libuv.version.
(julia-patch): Update to 1.5.2.
(llvm-julia)[inherit]: Update to use llvm-9.
[source]: Apply patches for llvm-9 from deps/llvm.mk.
(julia): Update to 1.5.2.
[source]: Remove substitutions for precompile.jl and cmdlineargs.jl.
Add a substitution for Dates/io tests. Set --depwarn=error for tests.
[arguments]: Set LLVM_VER=9.0.1.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/julia.scm (libuv-julia): Update to commit 26dbe56.
(libunwind-for-julia): Remove.
(llvm-patch-url, llvm-patch): New procedures.
(llvm-julia): New variable.
(julia): Update to 1.1.1.
[arguments]: Adjust 'prepare-deps' to new set of dependencies.
Adjust 'hardcode-soname-map': remove openlibm and libfftw handling.
Update file names in 'fix-include-and-link-paths' and 'hardcode-paths'.
Adjust 'disable-broken-tests'.
Pass PREFIX, LIBFLAS, and LIBBLASNAME in #:make-flags; update other
flags.
[inputs]: Replace LLVM-3.9.1 with LLVM-JULIA. Replace
LIBUNWIND-FOR-JULIA with LIBUNWIND. Add "rmath" and "libwhich".
[native-inputs]: Remove "unicode-data".
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Fixes a build failure with LLVM 6.0.x.
* gnu/packages/julia.scm (julia)[inputs]: Use LLVM-3.9.1 instead of
LLVM.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Partly fixes <https://bugs.gnu.org/30282>.
* gnu/packages/maths.scm (arpack-ng): Update to 3.5.0.
[native-inputs]: New field.
(arpack-ng-3.3.0): New variable.
* gnu/packages/julia.scm (julia)[inputs]: Use ARPACK-NG-3.3.0.
Reported by Marco van Hulten <marco@hulten.org>
in <https://bugs.gnu.org/30282>.
* gnu/packages/julia.scm (julia)[arguments] <'hardcode-soname-map>:
Patch out 'ldconfig' invocations.