commit: 59054408e06cdae7fbbab8b9ef5916d0ff516ee5 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Tue Sep 22 12:09:50 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Tue Sep 22 12:09:50 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=59054408
sci-libs/clblas: drop package present in ::gentoo Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> sci-libs/clblas/clblas-2.10.ebuild | 69 -------------------------------------- sci-libs/clblas/clblas-2.8.ebuild | 69 -------------------------------------- sci-libs/clblas/clblas-9999.ebuild | 69 -------------------------------------- sci-libs/clblas/metadata.xml | 29 ---------------- 4 files changed, 236 deletions(-) diff --git a/sci-libs/clblas/clblas-2.10.ebuild b/sci-libs/clblas/clblas-2.10.ebuild deleted file mode 100644 index 01d8a1825..000000000 --- a/sci-libs/clblas/clblas-2.10.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils python-single-r1 - -MY_PN="clBLAS" - -DESCRIPTION="A software library containing BLAS routines for OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clBLAS" -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+client examples +ktest performance test" - -REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-libs/boost - virtual/opencl - || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk ) - performance? ( ${PYTHON_DEPS} ) - " -DEPEND="${RDEPEND}" -# test? ( -# >=dev-cpp/gtest-1.6.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${MY_PN}-${PV}/src" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi - - if [ ! -d "${EPREFIX}/usr/include/CL" ]; then - eerror "As a temporary workaround for Bug #521734, a symlink pointing to" - eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2" - eerror "headers, normally provided by the eselect-opencl package, can be" - eerror "manually created with" - eerror "" - eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL" - eerror "" - die "${EPREFIX}/usr/include/CL not found" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CLIENT="$(usex client)" - -DBUILD_SAMPLE="$(usex examples)" - -DBUILD_KTEST="$(usex ktest)" - -DBUILD_PERFORMANCE="$(usex performance)" - -DBUILD_TEST="$(usex test)" - -DOPENCL_ROOT="/usr/local/include" - ) - cmake-utils_src_configure -} diff --git a/sci-libs/clblas/clblas-2.8.ebuild b/sci-libs/clblas/clblas-2.8.ebuild deleted file mode 100644 index 01d8a1825..000000000 --- a/sci-libs/clblas/clblas-2.8.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils python-single-r1 - -MY_PN="clBLAS" - -DESCRIPTION="A software library containing BLAS routines for OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clBLAS" -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+client examples +ktest performance test" - -REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-libs/boost - virtual/opencl - || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk ) - performance? ( ${PYTHON_DEPS} ) - " -DEPEND="${RDEPEND}" -# test? ( -# >=dev-cpp/gtest-1.6.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${MY_PN}-${PV}/src" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi - - if [ ! -d "${EPREFIX}/usr/include/CL" ]; then - eerror "As a temporary workaround for Bug #521734, a symlink pointing to" - eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2" - eerror "headers, normally provided by the eselect-opencl package, can be" - eerror "manually created with" - eerror "" - eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL" - eerror "" - die "${EPREFIX}/usr/include/CL not found" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CLIENT="$(usex client)" - -DBUILD_SAMPLE="$(usex examples)" - -DBUILD_KTEST="$(usex ktest)" - -DBUILD_PERFORMANCE="$(usex performance)" - -DBUILD_TEST="$(usex test)" - -DOPENCL_ROOT="/usr/local/include" - ) - cmake-utils_src_configure -} diff --git a/sci-libs/clblas/clblas-9999.ebuild b/sci-libs/clblas/clblas-9999.ebuild deleted file mode 100644 index 5371921f7..000000000 --- a/sci-libs/clblas/clblas-9999.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils git-r3 python-single-r1 - -MY_PN="clBLAS" - -DESCRIPTION="A software library containing BLAS routines for OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clBLAS" -EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="" -IUSE="+client examples +ktest performance test" - -REQUIRED_USE="performance? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-libs/boost - virtual/opencl - || ( >=dev-util/amdapp-2.9 dev-util/intel-ocl-sdk ) - performance? ( ${PYTHON_DEPS} ) - " -DEPEND="${RDEPEND}" -# test? ( -# >=dev-cpp/gtest-1.6.0 -# )" - -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake. -# Therefore src_test() won't execute any test. -RESTRICT="test" - -S="${WORKDIR}/${P}/src" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then - die "Compilation with gcc older than 4.6 is not supported." - fi - fi - - if [ ! -d "${EPREFIX}/usr/include/CL" ]; then - eerror "As a temporary workaround for Bug #521734, a symlink pointing to" - eerror "OpenCL headers >= 1.2 is needed. A symlink pointing to the CL-1.2" - eerror "headers, normally provided by the eselect-opencl package, can be" - eerror "manually created with" - eerror "" - eerror " ln -s ${EPREFIX}/usr/lib64/OpenCL/global/include/CL-1.2/ ${EPREFIX}/usr/include/CL" - eerror "" - die "${EPREFIX}/usr/include/CL not found" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CLIENT="$(usex client)" - -DBUILD_SAMPLE="$(usex examples)" - -DBUILD_KTEST="$(usex ktest)" - -DBUILD_PERFORMANCE="$(usex performance)" - -DBUILD_TEST="$(usex test)" - -DOPENCL_ROOT="/usr/local/include" - ) - cmake-utils_src_configure -} diff --git a/sci-libs/clblas/metadata.xml b/sci-libs/clblas/metadata.xml deleted file mode 100644 index 3aec2f51f..000000000 --- a/sci-libs/clblas/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> -clBLAS is the code for the OpenCL BLAS portion of clMath. The -complete set of BLAS level 1, 2 and 3 routines is implemented. See -Netlib BLAS for the list of supported routines. In addition to GPU -devices, the library also supports running on CPU devices to -facilitate debugging and multicore programming. -</longdescription> - <use> - <flag name="client"> -Build a command line clBLAS client program. -</flag> - <flag name="ktest"> -A command line tool for testing single clBLAS kernel. -</flag> - <flag name="performance"> -Copy performance scripts that can measure and graph performance. -</flag> - </use> - <upstream> - <remote-id type="github">clMathLibraries/clBLAS</remote-id> - </upstream> -</pkgmetadata>
