GNU bug report logs -
#64130
[PATCH] gnu: oneapi-dnnl: Fix building on riscv64-linux.
Previous Next
Reported by: Z572 <873216071 <at> qq.com>
Date: Sat, 17 Jun 2023 13:48:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 25 Jun 2023 23:35:42 +0200
with message-id <878rc7xm1d.fsf <at> gnu.org>
and subject line Re: bug#64130: [PATCH] gnu: oneapi-dnnl: Fix building on riscv64-linux.
has caused the debbugs.gnu.org bug report #64130,
regarding [PATCH] gnu: oneapi-dnnl: Fix building on riscv64-linux.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
64130: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64130
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
'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.
---
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 927b531cf2..adb4c0b6b2 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2022, 2023 Nicolas Graves <ngraves <at> ngraves.fr>
;;; Copyright © 2023 zamfofex <zamfofex <at> twdb.moe>
;;; Copyright © 2023 Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
+;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4578,6 +4579,9 @@ (define-public oneapi-dnnl
(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
base-commit: ff690faf66d8f37ee6b679fcb7cf37e369624ee3
--
2.40.1
[Message part 3 (message/rfc822, inline)]
Z572 <873216071 <at> qq.com> skribis:
> '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.
Applied, thanks!
This bug report was last modified 1 year and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.