From ae3a58cf8460309d4bb3a802cf3abeb34294b896 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Jul 2023 02:00:00 +0200 Subject: gnu: libpoly: Update to 0.1.12. * gnu/packages/maths.scm (libpoly): Update to 0.1.12. --- gnu/packages/maths.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 65bf7d762b..0d74a2a55c 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -7822,7 +7822,7 @@ diagrams.") (define-public libpoly (package (name "libpoly") - (version "0.1.11") + (version "0.1.12") (source (origin (method git-fetch) (uri (git-reference @@ -7831,7 +7831,7 @@ diagrams.") (file-name (git-file-name name version)) (sha256 (base32 - "0qylmg30rklvg00a0h1b3pb52cj9ki98yd27cylihjhq2klh3dmy")))) + "1cgdj7mxjyq4r2n852nxqacml90jm9irbvv27an0fmg7q4v1p2kb")))) (build-system cmake-build-system) (arguments (list #:configure-flags #~(list "-DLIBPOLY_BUILD_PYTHON_API=off"))) -- cgit v1.2.3 From c47f5587a23d6780ad6cae31b56d2d05d446c5c0 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 7 Aug 2023 17:25:27 +0200 Subject: gnu: maths: Remove a duplicate module import. Reported-by: Andy Tai * gnu/packages/maths.scm: Remove duplicate line. --- gnu/packages/maths.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 0d74a2a55c..6fceddb4ad 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -82,7 +82,6 @@ #:use-module (ice-9 match) #:use-module (gnu packages) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) -- cgit v1.2.3 From 508458de03871058d3e150545b3b02c1a6e7c2b4 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 8 Aug 2023 15:19:00 +0200 Subject: gnu: blis: Provide the CBLAS interface. * gnu/packages/maths.scm (blis)[arguments]: Add #:configure-flags. --- gnu/packages/maths.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6fceddb4ad..f87cae91a4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4723,6 +4723,7 @@ library.") (build-system gnu-build-system) (arguments (list + #:configure-flags #~'("--enable-cblas") #:modules '((guix build gnu-build-system) (guix build utils) -- cgit v1.2.3 From aae69b7163e332f4ad6fa0824b01bfd3c60ddcfd Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 8 Aug 2023 15:22:33 +0200 Subject: gnu: libflame: Tweak synopsis. * gnu/packages/maths.scm (libflame)[synopsis]: Expand acronym. --- gnu/packages/maths.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f87cae91a4..9abc6dbf51 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2666,7 +2666,7 @@ fixed point (16.16) format.") ("perl" ,perl) ("python" ,python-wrapper))) (home-page "https://github.com/flame/libflame") - (synopsis "High-performance object-based library for DLA computations") + (synopsis "High-performance library for @acronym{DLA, dense linear algebra} computations") (description "@code{libflame} is a portable library for dense matrix computations, providing much of the functionality present in LAPACK, developed by current and former members of the @acronym{SHPC, Science of High-Performance -- cgit v1.2.3 From 229faac39b07250ceabd77d8f728d2e38a6c8b7d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 10 Aug 2023 11:15:00 +0200 Subject: gnu: libflame: Remove dependency on OpenBLAS. This dependency was build-time-only and unused at compile time (the test suite is unaffected). * gnu/packages/maths.scm (libflame)[native-inputs]: Remove OPENBLAS. --- gnu/packages/maths.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9abc6dbf51..96f06f2652 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2662,7 +2662,6 @@ fixed point (16.16) format.") (list gfortran)) (native-inputs `(("lapack" ,lapack) - ("openblas" ,openblas) ("perl" ,perl) ("python" ,python-wrapper))) (home-page "https://github.com/flame/libflame") -- cgit v1.2.3 From 2a4047e5401a1b41c15803725f368483ab4377fa Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 10 Aug 2023 11:36:01 +0200 Subject: gnu: libflame: Remove input labels and use gexps. * gnu/packages/maths.scm (libflame)[arguments]: Use gexps and remove trailing #t in phases. [inputs, native-inputs]: Remove labels. --- gnu/packages/maths.scm | 95 ++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 49 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 96f06f2652..420f1894f3 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2615,55 +2615,52 @@ fixed point (16.16) format.") "1n6lf0wvpp77lxqlr721h2jbfbzigphdp19wq8ajiccilcksh7ay")))) (build-system gnu-build-system) (arguments - `(#:configure-flags - ;; Sensible defaults: https://github.com/flame/libflame/issues/28 - (list "--enable-dynamic-build" - "--enable-max-arg-list-hack" - "--enable-lapack2flame" - "--enable-verbose-make-output" - "--enable-multithreading=pthreads" ; Openblas isn't built with openmp. - ,@(if (any (cute string-prefix? <> (or (%current-target-system) - (%current-system))) - '("x86_64" "i686")) - '("--enable-vector-intrinsics=sse") - '()) - "--enable-supermatrix" - "--enable-memory-alignment=16" - "--enable-ldim-alignment") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-/usr/bin/env-bash - (lambda _ - (substitute* "build/config.mk.in" - (("/usr/bin/env bash") (which "bash"))) - #t)) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (substitute* "test/Makefile" - (("LIBBLAS .*") "LIBBLAS = -lblas\n") - (("LIBLAPACK .*") "LIBLAPACK = -llapack\n")) - (if tests? - (with-directory-excursion "test" - (mkdir "obj") - (invoke "make") - (invoke "./test_libflame.x")) - #t))) - (add-after 'install 'install-static - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (static (assoc-ref outputs "static"))) - (mkdir-p (string-append static "/lib")) - (rename-file (string-append out "/lib/libflame.a") - (string-append static "/lib/libflame.a")) - (install-file (string-append out "/include/FLAME.h") - (string-append static "/include")) - #t)))))) - (inputs - (list gfortran)) - (native-inputs - `(("lapack" ,lapack) - ("perl" ,perl) - ("python" ,python-wrapper))) + (list #:configure-flags + ;; Sensible defaults: https://github.com/flame/libflame/issues/28 + #~(list "--enable-dynamic-build" + "--enable-max-arg-list-hack" + "--enable-lapack2flame" + "--enable-verbose-make-output" + "--enable-multithreading=pthreads" ; Openblas isn't built with openmp. + #$@(if (target-x86?) + #~("--enable-vector-intrinsics=sse") + #~()) + "--enable-supermatrix" + "--enable-memory-alignment=16" + "--enable-ldim-alignment") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-/usr/bin/env-bash + (lambda _ + (substitute* "build/config.mk.in" + (("/usr/bin/env bash") + (which "bash"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (substitute* "test/Makefile" + (("LIBBLAS .*") + "LIBBLAS = -lblas\n") + (("LIBLAPACK .*") + "LIBLAPACK = -llapack\n")) + (when tests? + (with-directory-excursion "test" + (mkdir "obj") + (invoke "make") + (invoke "./test_libflame.x"))))) + (add-after 'install 'install-static + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (static (assoc-ref outputs "static"))) + (mkdir-p (string-append static "/lib")) + (rename-file (string-append out + "/lib/libflame.a") + (string-append static + "/lib/libflame.a")) + (install-file (string-append out + "/include/FLAME.h") + (string-append static "/include")))))))) + (inputs (list gfortran)) + (native-inputs (list lapack perl python-wrapper)) (home-page "https://github.com/flame/libflame") (synopsis "High-performance library for @acronym{DLA, dense linear algebra} computations") (description "@code{libflame} is a portable library for dense matrix -- cgit v1.2.3