summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-01-17 21:56:17 +0100
committerCayetano Santos <csantosb@inventati.org>2026-01-17 21:59:40 +0100
commit0fb6feed2c2d346bdab405fd6bad45ac98cd313d (patch)
treeb7d99895daa21362eda3a2d060d30912ba4827a7
parentcca0fc99f83c3da8964ed1f9d16dcf066525c0c3 (diff)
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
-rw-r--r--gnu/packages/lc0.scm9
1 files 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 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe> 2;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
3;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -31,7 +32,7 @@
31 #:use-module (gnu packages c) 32 #:use-module (gnu packages c)
32 #:use-module (gnu packages check) 33 #:use-module (gnu packages check)
33 #:use-module (gnu packages compression) 34 #:use-module (gnu packages compression)
34 #:use-module (gnu packages machine-learning) 35 #:use-module (gnu packages oneapi)
35 #:use-module (gnu packages pkg-config) 36 #:use-module (gnu packages pkg-config)
36 #:use-module (gnu packages python)) 37 #:use-module (gnu packages python))
37 38
@@ -60,7 +61,7 @@
60 #:configure-flags 61 #:configure-flags
61 #~(list "-Ddnnl=true" 62 #~(list "-Ddnnl=true"
62 (string-append "-Ddnnl_dir=" 63 (string-append "-Ddnnl_dir="
63 #$(this-package-input "oneapi-dnnl"))) 64 #$(this-package-input "onednn")))
64 #:phases 65 #:phases
65 #~(modify-phases %standard-phases 66 #~(modify-phases %standard-phases
66 (add-after 'unpack 'remove-march-native 67 (add-after 'unpack 'remove-march-native
@@ -71,8 +72,8 @@
71 (list (search-path-specification 72 (list (search-path-specification
72 (variable "XDG_DATA_DIRS") 73 (variable "XDG_DATA_DIRS")
73 (files '("share"))))) 74 (files '("share")))))
74 (inputs (list eigen oneapi-dnnl zlib)) 75 (inputs (list eigen onednn zlib))
75 (native-inputs (list googletest ispc pkg-config python)) 76 (native-inputs (list googletest ispc pkg-config python-minimal-wrapper))
76 (synopsis "Chess engine based on neural networks") 77 (synopsis "Chess engine based on neural networks")
77 (description 78 (description
78 "Leela Chess Zero is a UCI-compliant chess engine designed to play chess 79 "Leela Chess Zero is a UCI-compliant chess engine designed to play chess