mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
sci-libs/arborx: add 2.0
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
parent
8777b213c0
commit
b197033d5b
@ -1,2 +1,3 @@
|
||||
DIST arborx-1.4.1.tar.gz 408999 BLAKE2B 83e172f89ac8ff82d4add40fd036457d9c563b44c11b15d86aa884dc03742f3e22a13cc4b6f068ef377fcd8e63d239f704dd1821772079d2f9f8c169b1f31fae SHA512 3799deed5eae1e6092c19a62894207ac0ccd81ba84c8d42734fa3d0e5a3fc9d6a8f7b1442d2203b06f4e251970569f67506d419fb6695039c11e78dfd740e565
|
||||
DIST arborx-1.6.tar.gz 437155 BLAKE2B a49d91eb629c51550440f88f679a10b83b6421294beb467011a3f3f8c88b1b9691b8d09dfca1703334dc43813bb03d93f48967dcc50e265d5be893712a771e86 SHA512 f493a4e545fcd92dc47301dd77fdfa1a779a8b211480371055dc22e051ccc78dc54486c0477bed110d3b1fecc3edbcb211eeea88dbe335b010970c150eca3a19
|
||||
DIST arborx-2.0.tar.gz 450551 BLAKE2B e5b778e43acfcc9e0bb272fc9ff32efd02303621bdaf22586e8d55815d2fc0b7b5a54a8093f117aa40433e9cb43453914cded1d4708aaffc4be757435637af16 SHA512 27e7b7bf1f60b6363ae2855f78549bcb5a56e5b31da686d47b7bedb486707e74b91d16deb0f29584f62b875878cf9fe0299b7467040325a52ee70371cc45878b
|
||||
|
||||
44
sci-libs/arborx/arborx-2.0.ebuild
Normal file
44
sci-libs/arborx/arborx-2.0.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library for performance portable algorithms for geometric search"
|
||||
HOMEPAGE="https://github.com/arborx/ArborX"
|
||||
|
||||
SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="mpi"
|
||||
|
||||
RDEPEND="dev-libs/boost:=
|
||||
mpi? ( virtual/mpi[cxx] )
|
||||
sci-libs/trilinos"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/ArborX-${PV}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# replace hardcoded "lib/" directory:
|
||||
sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DARBORX_ENABLE_MPI="$(usex mpi)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user