~ruther/guix-local

1d4ad650661e7e045d3e1d59a17b8da4611884f8 — Zheng Junjie 1 year, 3 months ago 90dd6cf
gnu: xnnpack: Fix build on riscv64-linux.

* gnu/packages/machine-learning.scm (xnnpack)[native-inputs]: When target
riscv64, Add gcc-14.

Change-Id: Ifd19f13e6148cd9aa0bbdbf427466b1030da9a5e
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +6 -1
@@ 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