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
This commit is contained in:
Cayetano Santos 2026-01-17 21:56:17 +01:00
parent cca0fc99f8
commit 0fb6feed2c
No known key found for this signature in database
GPG key ID: BF5CDF4DF6BF6682

View file

@ -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