* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/
@ 2021-05-12 18:45 Haelwenn Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Haelwenn Monnier @ 2021-05-12 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 052f2c8bff49e935e7850ba112742cc9cdf4a9b4
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 12 14:58:24 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed May 12 14:58:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=052f2c8b
dev-cpp/vexcl: improvements
someone practical with docs eclass should review
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-cpp/vexcl/metadata.xml | 9 +++++
dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild | 74 +++++++++++++++++++++++++++++++++++++
dev-cpp/vexcl/vexcl-1.4.2.ebuild | 30 ---------------
3 files changed, 83 insertions(+), 30 deletions(-)
diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f91bd111..f9645efc3 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -14,4 +14,13 @@
</maintainer>
<remote-id type="github">ddemidov/vexcl</remote-id>
</upstream>
+ <use>
+ <flag name="amdsi">Implement workaround for AMD SI GPUs</flag>
+ <flag name="clhpp">Install the OpenCL C++ header provided by VexCL</flag>
+ <!--<flag name="clogs">Use clogs algorithms</flag>-->
+ <flag name="compute">Use Boost.Compute algorithms</flag>
+ <!--<flag name="cuda">Use CUDA as backend</flag>-->
+ <flag name="jit">Use the JIT backend</flag>
+ <flag name="opencl">Use OpenCL as backend</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
new file mode 100644
index 000000000..4385b24d4
--- /dev/null
+++ b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#DOCS_AUTODOC=0
+DOCS_BUILDER="sphinx"
+DOCS_DEPEND="dev-python/sphinx-bootstrap-theme"
+DOCS_DIR="docs"
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-any-r1 docs
+
+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"
+IUSE="amdsi clhpp compute examples jit +opencl test" #cuda clogs
+REQUIRED_USE="^^ ( compute jit opencl )" #cuda
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ compute? ( dev-libs/boost:= )
+ jit? ( virtual/opencl )
+ opencl? ( virtual/opencl )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -e "s|git_version()|${PV}|g" -i docs/conf.py || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local backend
+# use && backend="All"
+ use compute && backend="Compute"
+# use cuda && backend="CUDA"
+ use jit && backend="JIT"
+ use opencl && backend="OpenCL"
+
+ local mycmakeargs=(
+ -DVEXCL_BUILD_EXAMPLES=OFF
+
+ -DVEXCL_AMD_SI_WORKAROUND=$(usex amdsi)
+ -DVEXCL_BACKEND="${backend}"
+ -DVEXCL_BUILD_TESTS=$(usex test)
+ -DVEXCL_INSTALL_CL_HPP=$(usex clhpp)
+ )
+# -DVEXCL_CLOGS=$(usex clogs)
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ docs_compile
+}
+
+src_install() {
+ cmake_src_install
+ if use doc; then
+ dodoc -r docs/html
+ docompress -x "/usr/share/doc/${P}/html"
+ fi
+ if use examples; then
+ dodoc -r examples
+ docompress -x "/usr/share/doc/${P}/examples"
+ fi
+}
diff --git a/dev-cpp/vexcl/vexcl-1.4.2.ebuild b/dev-cpp/vexcl/vexcl-1.4.2.ebuild
deleted file mode 100644
index 8190e38bb..000000000
--- a/dev-cpp/vexcl/vexcl-1.4.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/
@ 2021-05-12 18:45 Haelwenn Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Haelwenn Monnier @ 2021-05-12 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 9c42327dd7e99c24595c265ee3174c425a61c52e
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 12 10:19:00 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed May 12 10:23:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c42327d
dev-cpp/vexcl: new package WIP
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-cpp/vexcl/Manifest | 1 +
dev-cpp/vexcl/metadata.xml | 17 +++++++++++++++++
dev-cpp/vexcl/vexcl-1.4.2.ebuild | 30 ++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
diff --git a/dev-cpp/vexcl/Manifest b/dev-cpp/vexcl/Manifest
new file mode 100644
index 000000000..4d6698137
--- /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 000000000..7f91bd111
--- /dev/null
+++ b/dev-cpp/vexcl/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>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.</longdescription>
+ <maintainer type="person">
+ <description>comaintainers welcome</description>
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>dennis.demidov@gmail.com</email>
+ <name>Denis Demidov</name>
+ </maintainer>
+ <remote-id type="github">ddemidov/vexcl</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000..8190e38bb
--- /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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/
2021-05-13 6:39 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2021-05-13 6:40 ` Andrew Ammerlaan
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-05-13 6:40 UTC (permalink / raw
To: gentoo-commits
commit: 5b1a9372269140b8c5da5da8019f708e213fb868
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu May 13 06:39:53 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu May 13 06:39:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b1a9372
dev-cpp/vexcl: fix indentation, whitspace -> tab
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
index 4385b24d4..a2599bbb7 100644
--- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
@@ -58,7 +58,7 @@ src_configure() {
src_compile() {
cmake_src_compile
- docs_compile
+ docs_compile
}
src_install() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/
@ 2023-03-10 5:48 Viorel Munteanu
0 siblings, 0 replies; 5+ messages in thread
From: Viorel Munteanu @ 2023-03-10 5:48 UTC (permalink / raw
To: gentoo-commits
commit: e9788c3ba15ac9a1a30c87bd11ca4f62f409eb1c
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Mar 8 19:35:26 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Mar 8 19:37:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9788c3b
dev-cpp/vexcl: enable py3.11
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild b/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
index 5d47f489b..0e81bdfe7 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ DOCS_DEPEND="
dev-python/sphinx-bootstrap-theme
"
DOCS_DIR="docs"
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake python-any-r1 docs
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/
@ 2023-12-27 20:23 David Roman
0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2023-12-27 20:23 UTC (permalink / raw
To: gentoo-commits
commit: 1d12132307c38bb189e80d46420b1176e29d4c99
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 26 09:32:55 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 26 09:32:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d121323
dev-cpp/vexcl: rename dev-libs/clhpp to dev-cpp/clhpp
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild b/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
index 0889431c99..0cf6f0ed78 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r2.ebuild
@@ -30,7 +30,7 @@ IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
RDEPEND="
dev-libs/boost:=
- dev-libs/clhpp
+ dev-cpp/clhpp
backend_jit? ( virtual/opencl )
backend_opencl? ( virtual/opencl )
"
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-27 20:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 20:23 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/vexcl/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2023-03-10 5:48 Viorel Munteanu
2021-05-13 6:39 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-13 6:40 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-12 18:45 Haelwenn Monnier
2021-05-12 18:45 Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox