From 0f156be9c41e4b6ea072452246ecfeffa9da1589 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 10 May 2022 06:12:14 +0000 Subject: Adding metadata --- dev-cpp/vexcl/Manifest | 2 +- dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild | 88 ------------------------------------ dev-cpp/vexcl/vexcl-1.4.3.ebuild | 89 +++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 89 deletions(-) delete mode 100644 dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild create mode 100644 dev-cpp/vexcl/vexcl-1.4.3.ebuild (limited to 'dev-cpp/vexcl') diff --git a/dev-cpp/vexcl/Manifest b/dev-cpp/vexcl/Manifest index 4d66981379cd..818b5fa5d70a 100644 --- a/dev-cpp/vexcl/Manifest +++ b/dev-cpp/vexcl/Manifest @@ -1 +1 @@ -DIST vexcl-1.4.2.tar.gz 412861 BLAKE2B 145948d2c2e6712a30542eca6690fe9f260cc9fe2064ffd01aaa89c3ddae1e0826206ffedfc362a6fb128f2909fc22948957f40cb45dc963d703abdff2ddd386 SHA512 b8bc759269025be21865178485015eb8489596be80c505d4699efdb517cb610a2d5fed10545ec7888f4cb4c7b3e2db5e3c2dd879c0d2fd95d2d0e59d1d3b790f +DIST vexcl-1.4.3.tar.gz 425619 BLAKE2B 867ad520ba9e71dccf39c16b0979e134f296cd6a5010169735bb5e885f0aa6d566734a533320479740cf897cae7c7c8352db0c62053e5d38add379ca71a299c3 SHA512 9d0f3f64efb495f2caff76cccefda4e16f88cc279972cedc90d784c8578cba1f1be61d0cc438631386b5db2a1e06a92298d2901c54d65a394e7271eadf0ad843 diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild deleted file mode 100644 index cae5336e3a68..000000000000 --- a/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="sphinx" -DOCS_DEPEND=" - dev-python/breathe - dev-python/sphinx-bootstrap-theme -" -DOCS_DIR="docs" -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -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_BACKEND=" - backend-compute - backend-jit - +backend-opencl -" -# backend-cuda -IUSE="${IUSE_BACKEND} amdsi clhpp examples test" #clogs - -RDEPEND=" - dev-libs/boost:= - backend-jit? ( virtual/opencl ) - backend-opencl? ( virtual/opencl ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" - "${FILESDIR}/${P}-include-map.patch" -) -REQUIRED_USE=" - ^^ ( ${IUSE_BACKEND//+/} ) -" -RESTRICT="!test? ( test )" - -src_prepare() { - sed -e "s|git_version()|\'${PV}\'|g" -i docs/conf.py || die - cmake_src_prepare -} - -src_configure() { - local backend -# use && backend="All" - use backend-compute && backend="Compute" -# use backend-cuda && backend="CUDA" - use backend-jit && backend="JIT" - use backend-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.3.ebuild b/dev-cpp/vexcl/vexcl-1.4.3.ebuild new file mode 100644 index 000000000000..5a09a49d79e2 --- /dev/null +++ b/dev-cpp/vexcl/vexcl-1.4.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_DEPEND=" + dev-python/breathe + dev-python/sphinx-bootstrap-theme +" +DOCS_DIR="docs" +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +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_BACKEND=" + backend-compute + backend-jit + +backend-opencl +" +# backend-cuda +IUSE="${IUSE_BACKEND} amdsi clhpp examples test" #clogs + +RDEPEND=" + dev-libs/boost:= + backend-jit? ( virtual/opencl ) + backend-opencl? ( virtual/opencl ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" + "${FILESDIR}/${P}-include-map.patch" +) +REQUIRED_USE=" + ^^ ( ${IUSE_BACKEND//+/} ) +" +RESTRICT="!test? ( test )" + +src_prepare() { + sed -e "s|git_version()|\'${PV}\'|g" -i docs/conf.py || die + cmake_src_prepare +} + +src_configure() { + local backend +# use && backend="All" + use backend-compute && backend="Compute" +# use backend-cuda && backend="CUDA" + use backend-jit && backend="JIT" + use backend-opencl && backend="OpenCL" + + local mycmakeargs=( + -DBoost_USE_STATIC_LIBS=OFF + -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 +} -- cgit v1.3