me
/
guix
Archived
1
0
Fork 0

gnu: tensorflow: Do not unpack directory.

* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Copy Eigen source
code instead of trying to unpack it.
master
Ricardo Wurmus 2021-12-13 23:23:38 +01:00
parent d6fa2381da
commit 76ab15a7c9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 2 deletions

View File

@ -1899,8 +1899,7 @@ set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
(invoke "tar" "xf" (assoc-ref inputs "protobuf:src") (invoke "tar" "xf" (assoc-ref inputs "protobuf:src")
"-C" "protobuf-src" "--strip-components=1") "-C" "protobuf-src" "--strip-components=1")
(mkdir-p "eigen-src") (mkdir-p "eigen-src")
(invoke "tar" "xf" (assoc-ref inputs "eigen:src") (copy-recursively (assoc-ref inputs "eigen:src") "eigen-src")
"-C" "eigen-src" "--strip-components=1")
(substitute* "tensorflow/contrib/cmake/tf_python.cmake" (substitute* "tensorflow/contrib/cmake/tf_python.cmake"
;; Take protobuf source files from our source package. ;; Take protobuf source files from our source package.