mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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>
This commit is contained in:
parent
6c0e7b2665
commit
15b731954b
1 changed files with 4 additions and 0 deletions
|
@ -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 @@ (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
|
||||
|
|
Loading…
Reference in a new issue