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: Tue, 14 Dec 2021 09:36:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 76ab15a7c958752b0e5de12580e88e1927891c6d
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]