summaryrefslogtreecommitdiff
path: root/dev-libs/libflatarray
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libflatarray
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libflatarray')
-rw-r--r--dev-libs/libflatarray/Manifest7
-rw-r--r--dev-libs/libflatarray/libflatarray-0.1.1.ebuild48
-rw-r--r--dev-libs/libflatarray/libflatarray-0.3.0.ebuild33
-rw-r--r--dev-libs/libflatarray/metadata.xml18
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-libs/libflatarray/Manifest b/dev-libs/libflatarray/Manifest
new file mode 100644
index 000000000000..d28db60a5388
--- /dev/null
+++ b/dev-libs/libflatarray/Manifest
@@ -0,0 +1,7 @@
+DIST libflatarray-0.1.1.tar.bz2 16866 SHA256 3287f0ab1e670f3a2c43dd42de6399a8f853453f228e45076339ec31ea68cb56 SHA512 feed796e3932fc0131634f2f83415372e8046ee137502614de5bfb5af88db2fc44afcdd995d9b2f245737d223b79fdae33ba772b154b4dac064eeed67d489542 WHIRLPOOL ab8089f8f6023c23db9edc5b3bd5b7a6b69f291d02268122bdd2b08e24285af2967ac237afa826a727b3a9cdfe1c59b34d8f77517cb7478ae343f28edc3792a4
+DIST libflatarray-0.3.0.tar.bz2 104544 SHA256 87b8c40ec0d9749c4e8bee41d2cd7441ec312fe8a2cfb7c1a238e0c6f61b4d0d SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37 WHIRLPOOL cb0b93f6c513474633f13a1135e614a06e956954d7ffcc6df04716df660f41042f53e290a5652694e371f18a32c38a655eb6b3c4484c54d582adf08726706fec
+EBUILD libflatarray-0.1.1.ebuild 849 SHA256 27e6d6e2e139cf981b6469aec96b9f8add9213f7ea6c41a1f6679aa6a1eef1ee SHA512 0be14c5bb75d67e9f05a8094a8d7f3f33b0d1df6871d33bee317b427240c03e3c878b6fda56901724fda70a8f53b2fc01f8b7e382563131e081bc9df183de033 WHIRLPOOL 2e17b194d97ed055443891295d6706710053fe1122de0729703b1a1227489a61ea011e2382ac86561b64362e34557d98e04e9f975a8a34121c153e09e9800e14
+EBUILD libflatarray-0.3.0.ebuild 681 SHA256 526f11f1c36b52f969af8e4cc1af1f46860eb2dff9eb37947efd641d7d923d43 SHA512 4aadbc44470dc6041c92bd31fe745068456bf61184862ab862f1d28b20671ab9a7727921f24cbe93a494e650d23fe805f8ce6d7d28eedbabf47854c491b5ae75 WHIRLPOOL 50241e5362b6e9cd319ddd9bef20c5add4f36df783f71a403c3c15c6e468b9db51becbdb39f9cdffd115e7b2fa0be83cd7114f7a539f8c5f30b0284c963beb30
+MISC ChangeLog 2587 SHA256 0dcb87e6eb067ff20c079278bb3e4900ca33d58d633c5f01c801079559bfbcb3 SHA512 d1deaa8c2a4601b9e7c80036125aa336871687332b46d9621c29ed0efb3125597d3fc75c599b5893d5a4caa8f128cdfd4fa0c76498259f5488736772cbb9b49a WHIRLPOOL 4e849ee912ddce84c815aa9eade50c9bab8625e62430624a534c547f51571679e4c8a8c1e5959a795b11316e2a268b8409315b2f48ded5c3ead782b7e170a377
+MISC ChangeLog-2015 459 SHA256 ea7d8ff5b0fe80bc3ec772dae3465564cfb78ba0d329b68f2b3a45e0a3478619 SHA512 a7dff47d51bcc81d9725f2d5fecd5d645660fe4e40ee28415e4cd61932b9f0c3f151b173459376c9362ad672e7f9d16cdf1e1edd5e4c4375651592689072910f WHIRLPOOL be3f7073952108efbb9bfcb36a34f58e43c1ffe099718ce2255b673f85e1526d1f1c94de4d406e3180fb4acd2fdf474b92fce2795053d1abff57934afcbed61e
+MISC metadata.xml 634 SHA256 09a1afe45aa5bd2556da56844cf0a3b2fc76dd9e27e06f642c981ec283c7e81f SHA512 85a13fa685b2dc2870705a134b59d66090f19839f645ec4741690bd3e1217a2d2a1d5be816ff6579994010889f8ae0908fb55e8b5339aa70e2ed94f38b607795 WHIRLPOOL 784589833def8ee1433131eafaed392e84597cce0f1c0e38aa64e13340c7b14b78cb02020147c7e3add4bfd14d56991722787e980e7ae3ec19a00623992ae885
diff --git a/dev-libs/libflatarray/libflatarray-0.1.1.ebuild b/dev-libs/libflatarray/libflatarray-0.1.1.ebuild
new file mode 100644
index 000000000000..0c41a78d02b9
--- /dev/null
+++ b/dev-libs/libflatarray/libflatarray-0.1.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils cuda
+
+SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DESCRIPTION="Struct of arrays library with object oriented interface for C++"
+HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html"
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="cuda doc"
+
+RDEPEND="
+ >=dev-libs/boost-1.48"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ cuda? ( dev-util/nvidia-cuda-toolkit )"
+
+src_prepare() {
+ if use cuda; then
+ cuda_src_prepare
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with cuda CUDA)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS=( README )
+ cmake-utils_src_install
+}
+
+src_test() {
+ cmake-utils_src_make test
+}
diff --git a/dev-libs/libflatarray/libflatarray-0.3.0.ebuild b/dev-libs/libflatarray/libflatarray-0.3.0.ebuild
new file mode 100644
index 000000000000..27ca812593b9
--- /dev/null
+++ b/dev-libs/libflatarray/libflatarray-0.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils cuda
+
+SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DESCRIPTION="Struct of arrays library with object oriented interface for C++"
+HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html"
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="cuda doc"
+
+DEPEND="
+ doc? ( app-doc/doxygen )
+ cuda? ( dev-util/nvidia-cuda-toolkit )"
+
+src_prepare() {
+ cmake-utils_src_prepare
+ use cuda && cuda_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_CUDA=$(usex cuda)
+ -DWITH_SILO=false
+ )
+ cmake-utils_src_configure
+}
diff --git a/dev-libs/libflatarray/metadata.xml b/dev-libs/libflatarray/metadata.xml
new file mode 100644
index 000000000000..48fcf22e57a5
--- /dev/null
+++ b/dev-libs/libflatarray/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slis@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ LibFlatArray is a multi-dimensional C++ array class which provides
+ an object-oriented view (a.k.a. array of structs, AoS) while
+ internally storing data in a struct of arrays (SoA) manner. It
+ comes with utilities to move data to CUDA enabled GPUs.
+ </longdescription>
+ <use>
+ <flag name="cuda">
+ Enables plugins for NVIDIA GPUs (e.g. CUDAAllocator)
+ </flag>
+ </use>
+</pkgmetadata>