summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-07-23 15:20:29 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-07-23 15:20:29 +0200
commitd72e9b862cbc9ccfabd0df7f53e7fe7664d22ae9 (patch)
tree75b740b3136d9407791592b79064f3881ae35396 /sci-mathematics/cvc4
parentdev-libs/glib: fix CVE-2019-12450 (diff)
downloadgentoo-d72e9b862cbc9ccfabd0df7f53e7fe7664d22ae9.tar.gz
gentoo-d72e9b862cbc9ccfabd0df7f53e7fe7664d22ae9.tar.bz2
gentoo-d72e9b862cbc9ccfabd0df7f53e7fe7664d22ae9.zip
sci-mathematics/cvc4: add statistics, replay and proofs use flag
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
Diffstat (limited to 'sci-mathematics/cvc4')
-rw-r--r--sci-mathematics/cvc4/cvc4-1.7.ebuild6
-rw-r--r--sci-mathematics/cvc4/metadata.xml3
2 files changed, 8 insertions, 1 deletions
diff --git a/sci-mathematics/cvc4/cvc4-1.7.ebuild b/sci-mathematics/cvc4/cvc4-1.7.ebuild
index 0b192f127391..cc6e6eb4f4f6 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 d1a299673f89..8ab072c90512 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