From 0fb6feed2c2d346bdab405fd6bad45ac98cd313d Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sat, 17 Jan 2026 21:56:17 +0100 Subject: [PATCH] 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 --- gnu/packages/lc0.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/lc0.scm b/gnu/packages/lc0.scm index e9bfc038cca..9476e5c252b 100644 --- a/gnu/packages/lc0.scm +++ b/gnu/packages/lc0.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2023 zamfofex +;;; Copyright © 2026 Cayetano Santos ;;; ;;; 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