summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus at>2018-05-08 16:59:07 +0200
committerKei Kebreau <kkebreau@posteo.net>2018-05-29 18:20:38 -0400
commit44884a9df8510caaab96adad1ab1e643b79feeba (patch)
treeac5490357888afda942cd8a7bc90dfeecc91d06a
parent3a354e104afc4313a4a59ab9ecf6c9d38f3c629a (diff)
downloadguix-44884a9df8510caaab96adad1ab1e643b79feeba.tar.gz
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>
-rw-r--r--gnu/packages/algebra.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index bf62144325..11aad2ac63 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -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
                ;; anyway, so just skip them.
                '(begin
+                  (substitute* "unsupported/CMakeLists.txt"
+                    (("add_subdirectory\\(test.*")
+                     "# Do not build the tests for unsupported features.\n"))
 		  (substitute* "CMakeLists.txt"
-                    (("add_subdirectory\\(unsupported\\)")
-                     "# Do not build the tests for unsupported features.\n")
                     ;; Work around
                     ;; <http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1114>.
                     (("\"include/eigen3\"")