commit: 72ad0b806262cbc73ca923ac1a6b50a19c3a0ef7 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Fri Sep 25 20:24:30 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Fri Sep 25 20:24:30 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=72ad0b80
dev-libs/boost-compute: version bump to 1.74.0 Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> dev-libs/boost-compute/boost-compute-1.74.0.ebuild | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/dev-libs/boost-compute/boost-compute-1.74.0.ebuild b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild new file mode 100644 index 000000000..f01c5c268 --- /dev/null +++ b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A header-only C++ Computing Library for OpenCL" +HOMEPAGE="https://github.com/boostorg/compute" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/boostorg/compute" +else + SRC_URI="https://github.com/boostorg/compute/archive/boost-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/compute-boost-${PV} + KEYWORDS="~amd64" +fi + +LICENSE="Boost-1.0" +SLOT="0" +IUSE="benchmark bolt cache cuda eigen examples opencv qt tbb test threads vtk" + +RDEPEND=" + dev-libs/boost + virtual/opencl +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBOOST_COMPUTE_USE_OFFLINE_CACHE=$(usex cache) + -DBOOST_COMPUTE_THREAD_SAFE=$(usex threads) + -DBOOST_COMPUTE_HAVE_EIGEN=$(usex eigen) + -DBOOST_COMPUTE_HAVE_OPENCV=$(usex opencv) + -DBOOST_COMPUTE_HAVE_QT=$(usex qt) + -DBOOST_COMPUTE_HAVE_VTK=$(usex vtk) + -DBOOST_COMPUTE_HAVE_CUDA=$(usex cuda) + -DBOOST_COMPUTE_HAVE_TBB=$(usex tbb) + -DBOOST_COMPUTE_HAVE_BOLT=$(usex bolt) + -DBOOST_COMPUTE_BUILD_TESTS=$(usex test) + -DBOOST_COMPUTE_BUILD_BENCHMARKS=$(usex benchmark) + -DBOOST_COMPUTE_BUILD_EXAMPLES=$(usex examples) + ) + cmake_src_configure +}
