GNU bug report logs - #75326
[PATCH 0/6] Update xtensor-stack packages.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Fri, 3 Jan 2025 20:34:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75326 in the body.
You can then email your comments to 75326 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org. (Fri, 03 Jan 2025 20:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 0/6] Update xtensor-stack packages.
Date: Fri,  3 Jan 2025 20:33:35 +0000
Hi Guix,

While refreshing AOCommon for Astro update I've noticed it started requiring
xtl, xsimd, xtensor, xtensor-blas, and xtensor-fftw from
<https://github.com/xtensor-stack> collection.

This series of patches improve style and update 3 of them. I would package
xtensor-blas and xtensor-fftw in separate issue.


Sharlatan Hellseher (6):
  gnu: xsimd: Improve package style.
  gnu: xsimd: Update to 11.0.0.
  gnu: xtl: Improve package style.
  gnu: xtl: Update to 0.7.7.
  gnu: xtensor: Improve package style.
  gnu: xtensor: Update to 0.25.0.

 gnu/packages/algebra.scm | 34 ++++++++++++---------
 gnu/packages/cpp.scm     | 66 +++++++++++++++++++---------------------
 2 files changed, 51 insertions(+), 49 deletions(-)


base-commit: ce3ffac5d366ebf20e0d95779f2fe1ea6dde0202
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 1/6] gnu: xsimd: Improve package style.
Date: Fri,  3 Jan 2025 20:35:01 +0000
* gnu/packages/cpp.scm (xsimd) [source] <url>: Fix redirection issue,
<https://github.com/QuantStack/xsimd> permamently redirects to
<https://github.com/xtensor-stack/xsimd>.
[arguments]: Use G-expressions.
[description]: Adjust fill column indentation.

Change-Id: I8096e07c026c9f08a9d647a44f9930900b3ae1bd
---
 gnu/packages/cpp.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d3a8223a9c..5bd56e704f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -611,25 +611,26 @@ (define-public xsimd
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/QuantStack/xsimd")
+             (url "https://github.com/xtensor-stack/xsimd")
              (commit version)))
        (sha256
         (base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags (list "-DBUILD_TESTS=ON")
-       #:test-target "xtest"))
+     (list
+      #:configure-flags #~(list "-DBUILD_TESTS=ON")
+      #:test-target "xtest"))
     (native-inputs
      (list googletest))
     (home-page "https://github.com/xtensor-stack/xsimd")
     (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
     (description
-     "xsimd provides a unified means for using @acronym{SIMD, single instruction
-multiple data} features for library authors.  Namely, it enables manipulation of
-batches of numbers with the same arithmetic operators as for single values.
-It also provides accelerated implementation of common mathematical functions
-operating on batches.")
+     "xsimd provides a unified means for using @acronym{SIMD, single
+instruction multiple data} features for library authors.  Namely, it enables
+manipulation of batches of numbers with the same arithmetic operators as for
+single values.  It also provides accelerated implementation of common
+mathematical functions operating on batches.")
     (license license:bsd-3)))
 
 (define-public google-highway
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:02 GMT) Full text and rfc822 format available.

Message #11 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 3/6] gnu: xtl: Improve package style.
Date: Fri,  3 Jan 2025 20:35:03 +0000
* gnu/packages/cpp.scm (xtl): Shift order of fields.
[source] <url>: Fix redirection issue,
<https://github.com/QuantStack/xtl> permamently redirects to
<https://github.com/xtensor-stack/xtl>.
[arguments] <test-target>: Set to "xtest".
<phases>: Use default 'check.
[home-page]: Fix it.

Change-Id: Ib3bc50b7a9e798be8888c2b1eac832d6a524bdae
---
 gnu/packages/cpp.scm | 39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 151b01f7e5..121cc64f17 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1061,30 +1061,25 @@ (define-public xtl
   (package
     (name "xtl")
     (version "0.7.5")
-    (source (origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://github.com/QuantStack/xtl")
-                (commit version)))
-              (sha256
-               (base32
-                "1llfy6pkzqx2va74h9xafjylyvw6839a843mqc05n6x6wll5bkam"))
-              (file-name (git-file-name name version))))
-    (native-inputs
-     (list doctest googletest nlohmann-json))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xtensor-stack/xtl")
+             (commit version)))
+       (sha256
+        (base32 "1llfy6pkzqx2va74h9xafjylyvw6839a843mqc05n6x6wll5bkam"))
+       (file-name (git-file-name name version))))
+    (build-system cmake-build-system)
     (arguments
      (list
-      #:configure-flags
-      #~(list "-DBUILD_TESTS=ON")
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda _
-              (with-directory-excursion "test"
-                (invoke "./test_xtl")))))))
-    (home-page "https://github.com/QuantStack/xtl")
-    (build-system cmake-build-system)
+      #:configure-flags #~(list "-DBUILD_TESTS=ON")
+      #:test-target "xtest"))
+    (native-inputs
+     (list doctest
+           googletest
+           nlohmann-json))
+    (home-page "https://github.com/xtensor-stack/xtl")
     (synopsis "C++ template library providing some basic tools")
     (description "xtl is a C++ header-only template library providing basic
 tools (containers, algorithms) used by other QuantStack packages.")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:03 GMT) Full text and rfc822 format available.

Message #14 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 4/6] gnu: xtl: Update to 0.7.7.
Date: Fri,  3 Jan 2025 20:35:04 +0000
* gnu/packages/cpp.scm (xtl): Update to 0.7.7.

Change-Id: Ifeaf490093ea6af0f7341a3fd3f73acf8cf5e06f
---
 gnu/packages/cpp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 121cc64f17..f8971b9616 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1060,7 +1060,7 @@ (define-public tomlplusplus
 (define-public xtl
   (package
     (name "xtl")
-    (version "0.7.5")
+    (version "0.7.7")
     (source
      (origin
        (method git-fetch)
@@ -1068,7 +1068,7 @@ (define-public xtl
              (url "https://github.com/xtensor-stack/xtl")
              (commit version)))
        (sha256
-        (base32 "1llfy6pkzqx2va74h9xafjylyvw6839a843mqc05n6x6wll5bkam"))
+        (base32 "1b42mjxchinsf2ylbvhyypfysg5sfphxqby53vlg82wvr23rijkz"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:03 GMT) Full text and rfc822 format available.

Message #17 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 2/6] gnu: xsimd: Update to 11.0.0.
Date: Fri,  3 Jan 2025 20:35:02 +0000
* gnu/packages/cpp.scm (xsimd): Update to 11.0.0.
[native-inputs]: Add doctest.

Change-Id: I8c49ff34288cdf5429034668ddd496c345ddfb34
---
 gnu/packages/cpp.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 5bd56e704f..151b01f7e5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -42,6 +42,7 @@
 ;;; Copyright © 2024 dan <i <at> dan.games>
 ;;; Copyright © 2024 Peepo Froggings <peepofroggings <at> tutanota.de>
 ;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch <at> web.de>
+;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 
 ;;; This file is part of GNU Guix.
 ;;;
@@ -606,7 +607,7 @@ (define-public debug-assert
 (define-public xsimd
   (package
     (name "xsimd")
-    (version "9.0.1")
+    (version "11.0.0")
     (source
      (origin
        (method git-fetch)
@@ -614,7 +615,7 @@ (define-public xsimd
              (url "https://github.com/xtensor-stack/xsimd")
              (commit version)))
        (sha256
-        (base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52"))
+        (base32 "148wylv88vp31rz7l357ch7k0l50apfk4x31qdqk9y4d2hj6ld3f"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
@@ -622,7 +623,8 @@ (define-public xsimd
       #:configure-flags #~(list "-DBUILD_TESTS=ON")
       #:test-target "xtest"))
     (native-inputs
-     (list googletest))
+     (list doctest
+           googletest))
     (home-page "https://github.com/xtensor-stack/xsimd")
     (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
     (description
-- 
2.46.0





Information forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:04 GMT) Full text and rfc822 format available.

Message #20 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 5/6] gnu: xtensor: Improve package style.
Date: Fri,  3 Jan 2025 20:35:05 +0000
* gnu/packages/algebra.scm (xtensor): Shift fields order. Use
G-expressions.

Change-Id: Ica85f3e848a99eea45e07156eb659558fc6c0804
---
 gnu/packages/algebra.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5da77b6318..4d84958abf 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1164,22 +1164,24 @@ (define-public xtensor
   (package
     (name "xtensor")
     (version "0.24.6")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/xtensor-stack/xtensor")
-                    (commit version)))
-              (sha256
-               (base32
-                "0gf5m5p61981pv7yh5425lcv8dci948ri37hn1zlli7xg54x0g3i"))
-              (file-name (git-file-name name version))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xtensor-stack/xtensor")
+             (commit version)))
+       (sha256
+        (base32 "0gf5m5p61981pv7yh5425lcv8dci948ri37hn1zlli7xg54x0g3i"))
+       (file-name (git-file-name name version))))
     (build-system cmake-build-system)
-    (native-inputs
-     (list doctest googletest xtl))
     (arguments
-     `(#:configure-flags
-       '("-DBUILD_TESTS=ON")
-       #:test-target "xtest"))
+     (list
+      #:configure-flags #~(list "-DBUILD_TESTS=ON")
+      #:test-target "xtest"))
+    (native-inputs
+     (list doctest
+           googletest
+           xtl))
     (home-page "https://xtensor.readthedocs.io/en/latest/")
     (synopsis "C++ tensors with broadcasting and lazy computing")
     (description "xtensor is a C++ library meant for numerical analysis with
-- 
2.46.0





Information forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Fri, 03 Jan 2025 20:36:04 GMT) Full text and rfc822 format available.

Message #23 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 6/6] gnu: xtensor: Update to 0.25.0.
Date: Fri,  3 Jan 2025 20:35:06 +0000
* gnu/packages/algebra.scm (xtensor): Update to 0.25.0.
[native-inputs]: Add nlohmann-json.

Change-Id: Iccaf397423d2a2b7b008082a9761c89ca2adc9a2
---
 gnu/packages/algebra.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 4d84958abf..a1217c53d3 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2021 Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2023 Mehmet Tekman <mtekman89 <at> gmail.com>
+;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1163,7 +1164,7 @@ (define-public eigen-for-tensorflow
 (define-public xtensor
   (package
     (name "xtensor")
-    (version "0.24.6")
+    (version "0.25.0")
     (source
      (origin
        (method git-fetch)
@@ -1171,7 +1172,7 @@ (define-public xtensor
              (url "https://github.com/xtensor-stack/xtensor")
              (commit version)))
        (sha256
-        (base32 "0gf5m5p61981pv7yh5425lcv8dci948ri37hn1zlli7xg54x0g3i"))
+        (base32 "0ziqybfm0fh6kr8qwxqacr04m9gm0njbn520izm6rsh9hysxsmw5"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
@@ -1181,6 +1182,7 @@ (define-public xtensor
     (native-inputs
      (list doctest
            googletest
+           nlohmann-json
            xtl))
     (home-page "https://xtensor.readthedocs.io/en/latest/")
     (synopsis "C++ tensors with broadcasting and lazy computing")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75326; Package guix-patches. (Mon, 20 Jan 2025 12:24:02 GMT) Full text and rfc822 format available.

Message #26 received at 75326 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 75326 <at> debbugs.gnu.org, Eric Bavier <bavier <at> posteo.net>
Subject: Re: [bug#75326] [PATCH 6/6] gnu: xtensor: Update to 0.25.0.
Date: Mon, 20 Jan 2025 13:23:18 +0100
Looks good, thank you!

Andreas

Am Fri, Jan 03, 2025 at 08:35:06PM +0000 schrieb Sharlatan Hellseher:
> * gnu/packages/algebra.scm (xtensor): Update to 0.25.0.
> [native-inputs]: Add nlohmann-json.




Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 21 Jan 2025 23:40:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Tue, 21 Jan 2025 23:40:02 GMT) Full text and rfc822 format available.

Message #31 received at 75326-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75326-done <at> debbugs.gnu.org
Subject: [PATCH 0/6] Update xtensor-stack packages.
Date: Tue, 21 Jan 2025 23:39:07 +0000
[Message part 1 (text/plain, inline)]
Pushed as:

5d6e4cedb56 * master gnu: xtensor: Update to 0.25.0.
5115dacc571 * gnu: xtensor: Improve package style.
e25dcf3bad5 * gnu: xtl: Update to 0.7.7.
27349661bb3 * gnu: xtl: Improve package style.
fbfff97ea94 * gnu: xsimd: Update to 11.0.0.
f165f68188c * gnu: xsimd: Improve package style.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Feb 2025 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.