[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: oneapi-dnnl: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
04/10: gnu: oneapi-dnnl: Fix building on riscv64-linux. |
Date: |
Sun, 25 Jun 2023 17:47:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 15b731954b09588c290b671d40248f90cdcf2b7a
Author: Z572 <873216071@qq.com>
AuthorDate: Sat Jun 17 21:47:11 2023 +0800
gnu: oneapi-dnnl: Fix building on riscv64-linux.
'CMake Error at src/cpu/rv64/CMakeLists.txt:36 (message):
Only sequential runtime is now supported for a RISC-V CPU'.
* gnu/packages/machine-learning.scm (oneapi-dnnl)[arguments]: Adjust
configure-flags when building for riscv64-linux to fix build.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/machine-learning.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 8fbb0274d4..e1b26e69c3 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2022, 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2023 Navid Afkhami <navid.afkhami@mdc-berlin.de>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4660,6 +4661,9 @@ Brian 2 simulator.")
(sha256
(base32 "1jgmb5kl0bf4a2zfn94zlb117672r9lvvkkmwl86ihlyr1mpr3d0"))))
(build-system cmake-build-system)
+ (arguments (if (target-riscv64?)
+ (list #:configure-flags #~'("-DDNNL_CPU_RUNTIME=SEQ"))
+ '()))
(home-page "https://github.com/oneapi-src/oneDNN")
(synopsis "Deep Neural Network Library")
(description
- branch master updated (41e8726c89 -> 269cfe341f), guix-commits, 2023/06/25
- 05/10: gnu: python-mypy-extensions: Update to 1.0.0, guix-commits, 2023/06/25
- 08/10: gnu: python-trimesh: Update to 3.22.1., guix-commits, 2023/06/25
- 10/10: gnu: aws-sdk-cpp: Update to 1.9.306., guix-commits, 2023/06/25
- 03/10: services: Validate 'provision' field of <shepherd-service>., guix-commits, 2023/06/25
- 01/10: gnu: mmg: Update to 5.7.1., guix-commits, 2023/06/25
- 09/10: gnu: aws-lc: Fix tests., guix-commits, 2023/06/25
- 02/10: gnu: nomad-optimizer: Fix build., guix-commits, 2023/06/25
- 04/10: gnu: oneapi-dnnl: Fix building on riscv64-linux.,
guix-commits <=
- 07/10: gnu: fswatch: Update to 1.17.1., guix-commits, 2023/06/25
- 06/10: gnu: python-mypy-extensions: Fix style, guix-commits, 2023/06/25