From 4d42fbd3713dea957eacafab72a29334f30f6367 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 27 Apr 2023 21:07:15 +0200 Subject: gnu: sleef: Adjust inputs. * gnu/packages/maths.scm (sleef)[inputs]: Replace openssl with openssl-1.1; remove mpfr. [arguments]: Remove custom phase 'make-git-checkout-writable; use G-expression for configure-flags. --- gnu/packages/maths.scm | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9ac365fbb4..f69d59273a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2014-2022 Eric Bavier ;;; Copyright © 2014 Federico Beffa ;;; Copyright © 2014 Mathieu Lirzin -;;; Copyright © 2015–2022 Ricardo Wurmus +;;; Copyright © 2015–2023 Ricardo Wurmus ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2015, 2018 Mark H Weaver ;;; Copyright © 2015-2022 Efraim Flashner @@ -735,23 +735,14 @@ (define-public sleef (base32 "1jybqrl2dvjxzg30xrhh847s375n2jr1pix644wi6hb5wh5mx3f7")))) (build-system cmake-build-system) (arguments - '(#:configure-flags (list "-DCMAKE_BUILD_TYPE=Release" - (string-append "-DCMAKE_INSTALL_LIBDIR=" - (assoc-ref %outputs "out") - "/lib") - (string-append "-DCMAKE_INSTALL_PREFIX=" - (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - ;; SLEEF generates a header library during the build process and writes - ;; to it via shell redirection. Make the checkout writable so the - ;; build can succeed. - (add-after 'unpack 'make-git-checkout-writable - (lambda _ - (for-each make-file-writable (find-files ".")) - #t))))) + (list + #:configure-flags + #~(list "-DCMAKE_BUILD_TYPE=Release" + (string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib") + (string-append "-DCMAKE_INSTALL_PREFIX=" #$output)))) + ;; XXX: Removed mpfr because of https://github.com/shibatch/sleef/issues/458 (inputs - (list fftw gmp mpfr openssl)) + (list fftw gmp openssl-1.1)) (home-page "https://sleef.org/") (synopsis "SIMD library for evaluating elementary functions and DFT") (description -- cgit v1.2.3