gnu: eigen-for-tensorflow: Build with GCC 7.

* gnu/packages/algebra.scm (eigen-for-tensorflow)[native-inputs]: Add gcc-7.
This commit is contained in:
Ricardo Wurmus 2021-12-13 23:26:23 +01:00
parent 76ab15a7c9
commit 245a99ceb5
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -42,6 +42,7 @@ (define-module (gnu packages algebra)
#: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 @@ (define-public eigen-for-tensorflow
'(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