guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: tensorflow: Do not unpack directory.


From: guix-commits
Subject: 02/03: gnu: tensorflow: Do not unpack directory.
Date: Mon, 13 Dec 2021 18:16:04 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 672c7a272401f4efe91c0b7784d2ec53378ebfc5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 13 23:23:38 2021 +0100

    gnu: tensorflow: Do not unpack directory.
    
    * gnu/packages/machine-learning.scm (tensorflow)[arguments]: Copy Eigen 
source
    code instead of trying to unpack it.
---
 gnu/packages/machine-learning.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 3bcc6d3..58f7c7c 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1899,8 +1899,7 @@ set(eigen_INCLUDE_DIRS 
${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
              (invoke "tar" "xf" (assoc-ref inputs "protobuf:src")
                      "-C" "protobuf-src" "--strip-components=1")
              (mkdir-p "eigen-src")
-             (invoke "tar" "xf" (assoc-ref inputs "eigen:src")
-                     "-C" "eigen-src" "--strip-components=1")
+             (copy-recursively (assoc-ref inputs "eigen:src") "eigen-src")
 
              (substitute* "tensorflow/contrib/cmake/tf_python.cmake"
                ;; Take protobuf source files from our source package.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]