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.
This commit is contained in:
parent
ecb4f4d015
commit
4d42fbd371
1 changed files with 8 additions and 17 deletions
|
@ -5,7 +5,7 @@
|
||||||
;;; Copyright © 2014-2022 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2014-2022 Eric Bavier <bavier@posteo.net>
|
||||||
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
||||||
;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
|
;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
|
||||||
;;; Copyright © 2015–2022 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015–2023 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||||
;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2015-2022 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015-2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
@ -735,23 +735,14 @@ numbers.")
|
||||||
(base32 "1jybqrl2dvjxzg30xrhh847s375n2jr1pix644wi6hb5wh5mx3f7"))))
|
(base32 "1jybqrl2dvjxzg30xrhh847s375n2jr1pix644wi6hb5wh5mx3f7"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list "-DCMAKE_BUILD_TYPE=Release"
|
(list
|
||||||
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
#:configure-flags
|
||||||
(assoc-ref %outputs "out")
|
#~(list "-DCMAKE_BUILD_TYPE=Release"
|
||||||
"/lib")
|
(string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib")
|
||||||
(string-append "-DCMAKE_INSTALL_PREFIX="
|
(string-append "-DCMAKE_INSTALL_PREFIX=" #$output))))
|
||||||
(assoc-ref %outputs "out")))
|
;; XXX: Removed mpfr because of https://github.com/shibatch/sleef/issues/458
|
||||||
#: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)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list fftw gmp mpfr openssl))
|
(list fftw gmp openssl-1.1))
|
||||||
(home-page "https://sleef.org/")
|
(home-page "https://sleef.org/")
|
||||||
(synopsis "SIMD library for evaluating elementary functions and DFT")
|
(synopsis "SIMD library for evaluating elementary functions and DFT")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue