mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
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:
@@ -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/.
|
||||
|
||||
Reference in New Issue
Block a user