mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -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
|
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"
|
HOMEPAGE="https://github.com/ECP-VeloC/redset"
|
||||||
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="mpi test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
mpi? ( virtual/mpi )
|
virtual/mpi
|
||||||
|
sys-cluster/KVTree[mpi]
|
||||||
sys-cluster/KVTree
|
|
||||||
sys-cluster/rankstr
|
sys-cluster/rankstr
|
||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
"
|
"
|
||||||
@@ -27,8 +24,6 @@ BDEPEND="
|
|||||||
>=dev-util/cmake-2.8
|
>=dev-util/cmake-2.8
|
||||||
"
|
"
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
#do not build static library
|
#do not build static library
|
||||||
sed -i '/redset-static/d' src/CMakeLists.txt
|
sed -i '/redset-static/d' src/CMakeLists.txt
|
||||||
@@ -36,13 +31,6 @@ src_prepare() {
|
|||||||
cmake-utils_src_prepare
|
cmake-utils_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DMPI="$(usex mpi "" OFF)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
cmake-utils_src_install
|
cmake-utils_src_install
|
||||||
dodoc -r doc/rst/.
|
dodoc -r doc/rst/.
|
||||||
|
|||||||
Reference in New Issue
Block a user