1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: onnxruntime: Extend with (pyproject-guile-json).

* gnu/packages/machine-learning.scm (onnxruntime)[arguments]
<#:phases>: Extend with (pyproject-guile-json).

Change-Id: Ib498a4697642d59784cf699230478ba23fb41ff6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-09-13 16:59:05 +02:00
committed by Sharlatan Hellseher
parent ffd53a7746
commit 2df248991b

View File

@@ -1837,6 +1837,7 @@ with a single function call.")
;; XXX: Fixes build with gcc@14.
"-DCMAKE_CXX_FLAGS=-Wl,-z,noexecstack")
#:phases
(with-extensions (list (pyproject-guile-json))
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
@@ -1899,7 +1900,7 @@ with a single function call.")
((assoc-ref py:%standard-phases 'sanity-check)
#:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py))
,@inputs)
#:outputs `(("out" . ,#$output:python))))))))
#:outputs `(("out" . ,#$output:python)))))))))
(outputs (list "out" "python"))
(inputs
(list abseil-cpp