summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-13 23:26:23 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-14 15:34:44 +0100
commit245a99ceb549a014538d206a1d11c22f64c81e63 (patch)
treeae856cff640815b40bcd92791045909d8a0b40e9 /gnu
parent76ab15a7c958752b0e5de12580e88e1927891c6d (diff)
downloadguix-245a99ceb549a014538d206a1d11c22f64c81e63.tar.gz
gnu: eigen-for-tensorflow: Build with GCC 7.
* gnu/packages/algebra.scm (eigen-for-tensorflow)[native-inputs]: Add gcc-7.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/algebra.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2c9674fdb4..79785bd463 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -42,6 +42,7 @@
   #:use-module (gnu packages ed)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fltk)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages image)
@@ -1066,8 +1067,9 @@ features, and more.")
                  '(begin
                     (substitute* "unsupported/CMakeLists.txt"
                       (("add_subdirectory\\(test.*")
-                       "# Do not build the tests for unsupported features.\n"))
-                    #t)))))))
+                       "# Do not build the tests for unsupported features.\n"))))))
+      (native-inputs
+       (list gcc-7)))))
 
 (define-public eigen-for-tensorflow-lite
   ;; This commit was taken from