~ruther/guix-local

0fb6feed2c2d346bdab405fd6bad45ac98cd313d — Cayetano Santos a month ago cca0fc9
gnu: lc0: Update dependency on onednn.

* gnu/packages/lc0.scm (lc0)[inputs]: Remove oneapi-dnnl; add onednn.
[native-inputs]: Remove python; add python-minimal-wrapper.

Change-Id: Ie88bf234faf0acfba6b7d378392cb904e9d63536
1 files changed, 5 insertions(+), 4 deletions(-)

M gnu/packages/lc0.scm
M gnu/packages/lc0.scm => gnu/packages/lc0.scm +5 -4
@@ 1,5 1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 31,7 32,7 @@
  #:use-module (gnu packages c)
  #:use-module (gnu packages check)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages machine-learning)
  #:use-module (gnu packages oneapi)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python))



@@ 60,7 61,7 @@
      #:configure-flags
      #~(list "-Ddnnl=true"
              (string-append "-Ddnnl_dir="
                             #$(this-package-input "oneapi-dnnl")))
                             #$(this-package-input "onednn")))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'remove-march-native


@@ 71,8 72,8 @@
     (list (search-path-specification
            (variable "XDG_DATA_DIRS")
            (files '("share")))))
    (inputs (list eigen oneapi-dnnl zlib))
    (native-inputs (list googletest ispc pkg-config python))
    (inputs (list eigen onednn zlib))
    (native-inputs (list googletest ispc pkg-config python-minimal-wrapper))
    (synopsis "Chess engine based on neural networks")
    (description
     "Leela Chess Zero is a UCI-compliant chess engine designed to play chess