diff --git a/dev-cpp/vexcl/Manifest b/dev-cpp/vexcl/Manifest new file mode 100644 index 0000000000..4d66981379 --- /dev/null +++ b/dev-cpp/vexcl/Manifest @@ -0,0 +1 @@ +DIST vexcl-1.4.2.tar.gz 412861 BLAKE2B 145948d2c2e6712a30542eca6690fe9f260cc9fe2064ffd01aaa89c3ddae1e0826206ffedfc362a6fb128f2909fc22948957f40cb45dc963d703abdff2ddd386 SHA512 b8bc759269025be21865178485015eb8489596be80c505d4699efdb517cb610a2d5fed10545ec7888f4cb4c7b3e2db5e3c2dd879c0d2fd95d2d0e59d1d3b790f diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml new file mode 100644 index 0000000000..7f91bd111f --- /dev/null +++ b/dev-cpp/vexcl/metadata.xml @@ -0,0 +1,17 @@ + + + + VexCL is a vector expression template library for OpenCL/CUDA. It has been created for ease of GPGPU development with C++. VexCL strives to reduce amount of boilerplate code needed to develop GPGPU applications. The library provides convenient and intuitive notation for vector arithmetic, reduction, sparse matrix-vector products, etc. Multi-device and even multi-platform computations are supported. The source code of the library is distributed under very permissive MIT license. + + comaintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + + dennis.demidov@gmail.com + Denis Demidov + + ddemidov/vexcl + + diff --git a/dev-cpp/vexcl/vexcl-1.4.2.ebuild b/dev-cpp/vexcl/vexcl-1.4.2.ebuild new file mode 100644 index 0000000000..8190e38bb0 --- /dev/null +++ b/dev-cpp/vexcl/vexcl-1.4.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="VexCL - Vector expression template library for OpenCL" +HOMEPAGE="https://github.com/ddemidov/vexcl" +SRC_URI="https://github.com/ddemidov/vexcl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +#TODO: cuda doc test +IUSE="examples" + +RDEPEND=" + dev-libs/boost:= + virtual/opencl +" +DEPEND="${RDEPEND}" + +src_install() { + cmake_src_install + if use examples; then + dodoc -r examples + docompress -x "/usr/share/doc/${P}/examples" + fi +}