sys-cluster/redset: builds with mpi even if USE="-mpi"

just got rid of src_configure and IUSE="mpi"
also made discription a bit shorter to make repoman
happy

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-03 16:58:03 +01:00
parent bdfc3fdea4
commit 837005f315

View File

@@ -5,20 +5,17 @@ EAPI="7"
inherit cmake-utils
DESCRIPTION="Low-level distributed erasure coding library to protect datasets of MPI applications"
DESCRIPTION="Low-level distributed erasure coding lib to protect datasets of MPI applications"
HOMEPAGE="https://github.com/ECP-VeloC/redset"
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mpi test"
RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( virtual/mpi )
sys-cluster/KVTree
virtual/mpi
sys-cluster/KVTree[mpi]
sys-cluster/rankstr
sys-libs/zlib
"
@@ -27,8 +24,6 @@ BDEPEND="
>=dev-util/cmake-2.8
"
DOCS=( README.md )
src_prepare() {
#do not build static library
sed -i '/redset-static/d' src/CMakeLists.txt
@@ -36,13 +31,6 @@ src_prepare() {
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DMPI="$(usex mpi "" OFF)"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc -r doc/rst/.