* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
@ 2024-09-12 15:29 Efraim Flashner
2024-09-13 9:18 ` Andreas Enge
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Efraim Flashner @ 2024-09-12 15:29 UTC (permalink / raw)
To: 73200; +Cc: Efraim Flashner, Andreas Enge, Eric Bavier, Sharlatan Hellseher
* gnu/packages/maths.scm (sleef): Update to 3.6.1.
[arguments]: Set build-type to release. Update configure-flags to only
set building a shared library.
[inputs]: Remove openssl-1.1. Add mpfr, openssl.
Change-Id: I3dab4b84a755a49f187e93e684e85659af0e2a49
---
gnu/packages/maths.scm | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a0cc0788caf..9a08e78d56b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015–2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2018, 2020, 2021 Kei Kebreau <kkebreau@posteo.net>
@@ -812,7 +812,7 @@ (define-public gsl
(define-public sleef
(package
(name "sleef")
- (version "3.5.1")
+ (version "3.6.1")
(source
(origin
(method git-fetch)
@@ -821,17 +821,15 @@ (define-public sleef
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1jybqrl2dvjxzg30xrhh847s375n2jr1pix644wi6hb5wh5mx3f7"))))
+ (base32 "14y1zf621zp0333vs29pc7pcc31gsrrs3q49b6qmd1kz6c7a7fp2"))))
(build-system cmake-build-system)
(arguments
(list
+ #:build-type "Release"
#: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
+ #~(list "-DSLEEF_BUILD_SHARED_LIBS=ON")))
(inputs
- (list fftw gmp openssl-1.1))
+ (list fftw gmp mpfr openssl))
(home-page "https://sleef.org/")
(synopsis "SIMD library for evaluating elementary functions and DFT")
(description
base-commit: d4869b7e43d823bccc8f6d81dd9f5d2c13cb8f25
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
2024-09-12 15:29 [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1 Efraim Flashner
@ 2024-09-13 9:18 ` Andreas Enge
2024-09-15 12:47 ` Efraim Flashner
2024-09-13 14:11 ` Eric Bavier
[not found] ` <handler.73200.B.172615500332605.ack@debbugs.gnu.org>
2 siblings, 1 reply; 7+ messages in thread
From: Andreas Enge @ 2024-09-13 9:18 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Eric Bavier, Sharlatan Hellseher, 73200
Hello Efraim,
Am Thu, Sep 12, 2024 at 06:29:38PM +0300 schrieb Efraim Flashner:
> * gnu/packages/maths.scm (sleef): Update to 3.6.1.
> [arguments]: Set build-type to release. Update configure-flags to only
> set building a shared library.
> [inputs]: Remove openssl-1.1. Add mpfr, openssl.
the changes look good to me (but I did not try to build the package,
assuming you have alredy done so).
Why build only a shared library?
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
2024-09-12 15:29 [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1 Efraim Flashner
2024-09-13 9:18 ` Andreas Enge
@ 2024-09-13 14:11 ` Eric Bavier
2024-09-15 12:48 ` Efraim Flashner
[not found] ` <handler.73200.B.172615500332605.ack@debbugs.gnu.org>
2 siblings, 1 reply; 7+ messages in thread
From: Eric Bavier @ 2024-09-13 14:11 UTC (permalink / raw)
To: 73200, efraim; +Cc: Andreas Enge, Sharlatan Hellseher
[-- Attachment #1: Type: text/plain, Size: 2960 bytes --]
Hi Efraim,
Also looks good to me. I tested with build of llama-cpp for x86_64. Some other Python users currently FTBFS for other reasons it seems.
This version of Sleef even comes with RISC-V Vector extension support :-) .
`~Eric
On September 12, 2024 3:29:38 PM UTC, Efraim Flashner <efraim@flashner.co.il> wrote:
>* gnu/packages/maths.scm (sleef): Update to 3.6.1.
>[arguments]: Set build-type to release. Update configure-flags to only
>set building a shared library.
>[inputs]: Remove openssl-1.1. Add mpfr, openssl.
>
>Change-Id: I3dab4b84a755a49f187e93e684e85659af0e2a49
>---
> gnu/packages/maths.scm | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)
>
>diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
>index a0cc0788caf..9a08e78d56b 100644
>--- a/gnu/packages/maths.scm
>+++ b/gnu/packages/maths.scm
>@@ -8,7 +8,7 @@
> ;;; Copyright © 2015–2024 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
> ;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
>-;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
>+;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
> ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
> ;;; Copyright © 2016, 2018, 2020, 2021 Kei Kebreau <kkebreau@posteo.net>
>@@ -812,7 +812,7 @@ (define-public gsl
> (define-public sleef
> (package
> (name "sleef")
>- (version "3.5.1")
>+ (version "3.6.1")
> (source
> (origin
> (method git-fetch)
>@@ -821,17 +821,15 @@ (define-public sleef
> (commit version)))
> (file-name (git-file-name name version))
> (sha256
>- (base32 "1jybqrl2dvjxzg30xrhh847s375n2jr1pix644wi6hb5wh5mx3f7"))))
>+ (base32 "14y1zf621zp0333vs29pc7pcc31gsrrs3q49b6qmd1kz6c7a7fp2"))))
> (build-system cmake-build-system)
> (arguments
> (list
>+ #:build-type "Release"
> #: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
>+ #~(list "-DSLEEF_BUILD_SHARED_LIBS=ON")))
> (inputs
>- (list fftw gmp openssl-1.1))
>+ (list fftw gmp mpfr openssl))
> (home-page "https://sleef.org/")
> (synopsis "SIMD library for evaluating elementary functions and DFT")
> (description
>
>base-commit: d4869b7e43d823bccc8f6d81dd9f5d2c13cb8f25
>--
>Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
>GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
>Confidentiality cannot be guaranteed on emails sent or received unencrypted
>
>
>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 3276 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
2024-09-13 9:18 ` Andreas Enge
@ 2024-09-15 12:47 ` Efraim Flashner
2024-09-16 9:35 ` Andreas Enge
0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2024-09-15 12:47 UTC (permalink / raw)
To: Andreas Enge; +Cc: Eric Bavier, Sharlatan Hellseher, 73200
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
On Fri, Sep 13, 2024 at 11:18:45AM +0200, Andreas Enge wrote:
> Hello Efraim,
>
> Am Thu, Sep 12, 2024 at 06:29:38PM +0300 schrieb Efraim Flashner:
> > * gnu/packages/maths.scm (sleef): Update to 3.6.1.
> > [arguments]: Set build-type to release. Update configure-flags to only
> > set building a shared library.
> > [inputs]: Remove openssl-1.1. Add mpfr, openssl.
>
> the changes look good to me (but I did not try to build the package,
> assuming you have alredy done so).
>
> Why build only a shared library?
The current version only provides a shared library but the new version
defaults to a static library. This changes it back to what we have now.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
2024-09-13 14:11 ` Eric Bavier
@ 2024-09-15 12:48 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2024-09-15 12:48 UTC (permalink / raw)
To: Eric Bavier; +Cc: andreas, sharlatanus, 73200
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
On Fri, Sep 13, 2024 at 02:11:09PM +0000, Eric Bavier wrote:
> Hi Efraim,
>
> Also looks good to me. I tested with build of llama-cpp for x86_64. Some other Python users currently FTBFS for other reasons it seems.
>
> This version of Sleef even comes with RISC-V Vector extension support :-) .
>
> `~Eric
I think for the vector support on RISC-V we need to build with gcc-14 or
llvm-17+.
At first build this fixes build failures on aarch64 and riscv64, but
breaks support for i686 and one of the other architectures. I was hoping
to get feedback from the QA system to see if it built there and just not
on my hardware.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1.
2024-09-15 12:47 ` Efraim Flashner
@ 2024-09-16 9:35 ` Andreas Enge
0 siblings, 0 replies; 7+ messages in thread
From: Andreas Enge @ 2024-09-16 9:35 UTC (permalink / raw)
To: Efraim Flashner, 73200, Eric Bavier, Sharlatan Hellseher
Am Sun, Sep 15, 2024 at 03:47:56PM +0300 schrieb Efraim Flashner:
> > Why build only a shared library?
> The current version only provides a shared library but the new version
> defaults to a static library. This changes it back to what we have now.
Okay, fine then! I wonder whether it makes sense to build both
(which seems to be the Autotools default), but I think static libraries
are rarely useful actually, and since we did not build one before and
noone complained, we can leave it to a shared library.
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#73200: Acknowledgement ([PATCH] gnu: sleef: Update to 3.6.1.)
[not found] ` <handler.73200.B.172615500332605.ack@debbugs.gnu.org>
@ 2024-09-17 18:25 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2024-09-17 18:25 UTC (permalink / raw)
To: 73200-done
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
Patch applied
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-09-17 18:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 15:29 [bug#73200] [PATCH] gnu: sleef: Update to 3.6.1 Efraim Flashner
2024-09-13 9:18 ` Andreas Enge
2024-09-15 12:47 ` Efraim Flashner
2024-09-16 9:35 ` Andreas Enge
2024-09-13 14:11 ` Eric Bavier
2024-09-15 12:48 ` Efraim Flashner
[not found] ` <handler.73200.B.172615500332605.ack@debbugs.gnu.org>
2024-09-17 18:25 ` bug#73200: Acknowledgement ([PATCH] gnu: sleef: Update to 3.6.1.) Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).