gnu: eigen: Include unsupported features.

* gnu/packages/algebra.scm (eigen)[source]: Do not build the tests for
unsupported features, but include the files.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
This commit is contained in:
Ricardo Wurmus 2018-05-08 16:59:07 +02:00 committed by Kei Kebreau
parent 3a354e104a
commit 44884a9df8
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 3 additions and 2 deletions

View File

@ -734,9 +734,10 @@ Sine Transform} (DST) and @dfn{Discrete Hartley Transform} (DHT).")
;; but maintainers say it's a known issue and it's unsupported ;; but maintainers say it's a known issue and it's unsupported
;; anyway, so just skip them. ;; anyway, so just skip them.
'(begin '(begin
(substitute* "unsupported/CMakeLists.txt"
(("add_subdirectory\\(test.*")
"# Do not build the tests for unsupported features.\n"))
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("add_subdirectory\\(unsupported\\)")
"# Do not build the tests for unsupported features.\n")
;; Work around ;; Work around
;; <http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1114>. ;; <http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1114>.
(("\"include/eigen3\"") (("\"include/eigen3\"")