This is an automated email from the git hooks/post-receive script.

z572 pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1d4ad65066 gnu: xnnpack: Fix build on riscv64-linux.
1d4ad65066 is described below

commit 1d4ad650661e7e045d3e1d59a17b8da4611884f8
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Mar 22 22:16:04 2025 +0800

    gnu: xnnpack: Fix build on riscv64-linux.
    
    * gnu/packages/machine-learning.scm (xnnpack)[native-inputs]: When target
    riscv64, Add gcc-14.
    
    Change-Id: Ifd19f13e6148cd9aa0bbdbf427466b1030da9a5e
---
 gnu/packages/machine-learning.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 246b004156..8406830359 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4483,7 +4483,12 @@ on quantized 8-bit tensors.")
              fxdiv
              fp16
              psimd))
-      (native-inputs (list python-pyyaml python-wrapper))
+      (native-inputs
+       (append (if (target-riscv64?)
+                   ;; Required by "#include <riscv_vector.h>"
+                   (list gcc-14)
+                   (list))
+               (list python-pyyaml python-wrapper)))
       (synopsis "Optimized floating-point neural network inference operators")
       (description
        "XNNPACK is a highly optimized library of floating-point neural network

Reply via email to