~ruther/guix-local

2a1f1162e5c7a565a8fef80847d5bc2e86305889 — Andy Tai 5 months ago 94f8813
gnu: tensorflow-lite: Fix build.

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

Change-Id: Ibeb0d8d9c940d8fa47549b90e75bf1d2ba6aa1df
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +2 -1
@@ 3325,6 3325,7 @@ Python.")
         "-DFARMHASH_SOURCE_DIR=/tmp/farmhash"
         (string-append "-Dgemmlowp_ROOT=" #$(this-package-input "gemmlowp")))
      #:phases
      (with-extensions (list (pyproject-guile-json))
      #~(modify-phases %standard-phases
          (add-after 'unpack 'chdir
            (lambda _


@@ 3444,7 3445,7 @@ find_library(ML_DTYPES_LIBRARIES
              ((assoc-ref py:%standard-phases 'sanity-check)
               #:inputs `(("sanity-check.py" . ,#$(default-sanity-check.py))
                          ,@inputs)
               #:outputs `(("out" . ,#$output:python))))))))
               #:outputs `(("out" . ,#$output:python)))))))))
    (inputs
     (list abseil-cpp
           cpuinfo