diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libflatarray | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libflatarray')
-rw-r--r-- | dev-libs/libflatarray/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libflatarray/libflatarray-0.3.0.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/libflatarray/metadata.xml | 18 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libflatarray/Manifest b/dev-libs/libflatarray/Manifest new file mode 100644 index 000000000000..3da84236bcf2 --- /dev/null +++ b/dev-libs/libflatarray/Manifest @@ -0,0 +1,3 @@ +DIST libflatarray-0.3.0.tar.bz2 104544 BLAKE2B 9ac490a526fbd71478ac569538bad28e01a1a91bd71d37e85bf89181e856e79b2dec6af5415f238e5f72fbbe57cda59ee87ebd79cd273887061e2bbb93a7ce31 SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37 +EBUILD libflatarray-0.3.0.ebuild 681 BLAKE2B ee500d048d33d8fe03b0ee118fd433e3ff66258b1ab23951273ba9cd681fa1977b75aa232850be96449e6460486e770e669dd5e555755af8c5f4a8678d305ec1 SHA512 4aadbc44470dc6041c92bd31fe745068456bf61184862ab862f1d28b20671ab9a7727921f24cbe93a494e650d23fe805f8ce6d7d28eedbabf47854c491b5ae75 +MISC metadata.xml 634 BLAKE2B 4c07ba2a9ed94cb524260d400bcf611b723e03e596864c04ee61e5289965e5c3ec738f0b82e911d9c34f9d36d1c12b9918dc0f71e7beecda09fb2beba1f03900 SHA512 85a13fa685b2dc2870705a134b59d66090f19839f645ec4741690bd3e1217a2d2a1d5be816ff6579994010889f8ae0908fb55e8b5339aa70e2ed94f38b607795 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> |