From 245a99ceb549a014538d206a1d11c22f64c81e63 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 13 Dec 2021 23:26:23 +0100 Subject: gnu: eigen-for-tensorflow: Build with GCC 7. * gnu/packages/algebra.scm (eigen-for-tensorflow)[native-inputs]: Add gcc-7. --- gnu/packages/algebra.scm | 6 ++++-- 1 file 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 -- cgit 1.4.1