commit:     d72e9b862cbc9ccfabd0df7f53e7fe7664d22ae9
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 13:20:29 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 13:20:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72e9b86

sci-mathematics/cvc4: add statistics, replay and proofs use flag

Closes: https://github.com/gentoo/gentoo/pull/12520
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 sci-mathematics/cvc4/cvc4-1.7.ebuild | 6 +++++-
 sci-mathematics/cvc4/metadata.xml    | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/cvc4/cvc4-1.7.ebuild 
b/sci-mathematics/cvc4/cvc4-1.7.ebuild
index 0b192f12739..cc6e6eb4f4f 100644
--- a/sci-mathematics/cvc4/cvc4-1.7.ebuild
+++ b/sci-mathematics/cvc4/cvc4-1.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/CVC4/CVC4/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+cln"
+IUSE="+cln +statistics proofs replay"
 
 RDEPEND="dev-libs/antlr-c
        dev-java/antlr:3
@@ -30,7 +30,11 @@ src_configure() {
        local mycmakeargs=(
                -DANTLR_BINARY=/usr/bin/antlr3
                -DENABLE_GPL=ON
+               -DENABLE_OPTIMIZED=ON
                -DUSE_CLN="$(usex cln ON OFF)"
+               -DENABLE_STATISTICS="$(usex statistics ON OFF)"
+               -DENABLE_PROOFS="$(usex proofs ON OFF)"
+               -DENABLE_REPLAY="$(usex replay ON OFF)"
        )
        cmake-utils_src_configure
 }

diff --git a/sci-mathematics/cvc4/metadata.xml 
b/sci-mathematics/cvc4/metadata.xml
index d1a299673f8..8ab072c9051 100644
--- a/sci-mathematics/cvc4/metadata.xml
+++ b/sci-mathematics/cvc4/metadata.xml
@@ -7,6 +7,9 @@
        </maintainer>
        <use>
                <flag name="cln">Use sci-libs/cln</flag>
+               <flag name="statistics">Include statistics</flag>
+               <flag name="replay">Turn on the replay feature</flag>
+               <flag name="proofs">Support for proof generation</flag>
        </use>
        <longdescription lang="en">
                CVC4 is an efficient open-source automatic theorem prover for

Reply via email to