Subject: [bug#29819] gnu: virtuoso-ose: Enable fct, isparql, and ods plugins.

From: Roel Janssen <[email-masked]>
Date: Fri, 22 Dec 2017 23:13:45 +0100

Dear Guix,

I'd like to squeeze the most performance out of virtuoso, as well as add
some of the VAD packages to extend its functionality.

I attached the patch, but I have a question about the -m64 flag.  My
impression is that this flag will force a 64-bit build.  Since only
64-bit architectures are supported for this package anyway, I think this
should be fine.  Now, my question is: Does this flag have any effect on
the build?

Thanks for your time!

Kind regards,
Roel Janssen

>From ffab36dc96d7c17ab699b1e5fa641386ae87f681 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Fri, 22 Dec 2017 23:03:36 +0100
Subject: [PATCH] gnu: virtuoso-ose: Enable fct, isparql, and ods plugins.

* gnu/packages/databases.scm (virtuoso-ose): Enable fct, isparql, and ods
  plugins.  Also compile with optimization level 2, and compile 64-bit only.
---
 gnu/packages/databases.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a6a7c3178..d802a35c7 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1962,10 +1962,16 @@ implementation for Python.")
         (base32 "12dqam1gc1v93l0bj0vlpvjqppki6y1hqrlznywxnw0rrz9pb002"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f)) ; Tests require a network connection.
+     `(#:tests? #f ; Tests require a network connection.
+       #:configure-flags '("--with-readline"
+                           "--enable-fct-vad"
+                           "--enable-isparql-vad"
+                           "--enable-ods-vad"
+                           "CFLAGS=-O2 -m64")))
     (inputs
      `(("openssl" ,openssl)
-       ("net-tools" ,net-tools)))
+       ("net-tools" ,net-tools)
+       ("readline" ,readline)))
     (home-page "http://vos.openlinksw.com/owiki/wiki/VOS/")
     (synopsis "Multi-model database system")
     (description "Virtuoso is a scalable cross-platform server that combines
-- 
2.15.1