sci-mathematics/cvc4: add statistics, replay and proofs use flag
authorTupone Alfredo <tupone@gentoo.org>
Tue, 23 Jul 2019 13:20:29 +0000 (15:20 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 23 Jul 2019 13:20:29 +0000 (15:20 +0200)
Closes: https://github.com/gentoo/gentoo/pull/12520
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

sci-mathematics/cvc4/cvc4-1.7.ebuild
sci-mathematics/cvc4/metadata.xml

index 0b192f127391b63b212d1da85466b798939658b3..cc6e6eb4f4f6aca78e140ce5c2891c43d1d9a13f 100644 (file)
@@ -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
 }
index d1a299673f895b1b25175bffb41b755c3492a300..8ab072c90512134a7f59bd634f757cb06c25b9d5 100644 (file)
@@ -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