sci-mathematics/yices2 - 2.7.0 (gentoo)

Search

Install

Install this version:

emerge -a =sci-mathematics/yices2-2.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-mathematics/yices2-2.7.0

Or alternatively:

emerge --autounmask-write -a =sci-mathematics/yices2-2.7.0

Package Information

Description:
SMT Solver supporting SMT-LIB and Yices specification language
Homepage:
https://github.com/SRI-CSL/yices2/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
2.7.0 8 ~amd64 ~x86 0/2.7.0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="SMT Solver supporting SMT-LIB and Yices specification language"
HOMEPAGE="https://github.com/SRI-CSL/yices2/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/SRI-CSL/${PN}"
else
	SRC_URI="https://github.com/SRI-CSL/${PN}/archive/${PV}.tar.gz
		-> ${P}.gh.tar.gz"

	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-3+"
SLOT="0/${PV}"
IUSE="+mcsat"

RDEPEND="
	dev-libs/gmp:=
	mcsat? (
		sci-mathematics/libpoly:=
		sci-mathematics/cudd:=
	)
"
DEPEND="
	${RDEPEND}
"
BDEPEND="
	sys-process/parallel
"

DOCS=( FAQ.md README.md )

src_prepare() {
	mkdir "${HOME}/.parallel" || die
	touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"

	default
	eautoreconf
}

src_configure() {
	econf $(use_enable mcsat)
}

src_compile() {
	emake STRIP="echo"
}

src_test() {
	emake check
}

src_install() {
	default

	doman ./doc/*.1

	rm "${ED}/usr/$(get_libdir)/libyices.a" || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-mathematics/yices2 | euse -E <flag> -p sci-mathematics/yices2 | euse -D <flag> -p sci-mathematics/yices2

Global/Standard Flags

mcsat
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	
	dev-libs/gmp:=
	mcsat? (
		sci-mathematics/libpoly:=
		sci-mathematics/cudd:=
	)

RDEPEND

	dev-libs/gmp:=
	mcsat? (
		sci-mathematics/libpoly:=
		sci-mathematics/cudd:=
	)

BDEPEND

	sys-process/parallel

Manifest for 2.7.0

Type File Size Source URLs
DIST yices2-2.7.0.gh.tar.gz 10460379 bytes https://github.com/SRI-CSL/yices2/archive/2.7.0.tar.gz