Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/
Date: Fri, 25 Sep 2020 20:56:45
Message-Id: 1601065470.72ad0b806262cbc73ca923ac1a6b50a19c3a0ef7.epsilon-0@gentoo
1 commit: 72ad0b806262cbc73ca923ac1a6b50a19c3a0ef7
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Sep 25 20:24:30 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Sep 25 20:24:30 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=72ad0b80
7
8 dev-libs/boost-compute: version bump to 1.74.0
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 RepoMan-Options: --force
12 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
13
14 dev-libs/boost-compute/boost-compute-1.74.0.ebuild | 46 ++++++++++++++++++++++
15 1 file changed, 46 insertions(+)
16
17 diff --git a/dev-libs/boost-compute/boost-compute-1.74.0.ebuild b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild
18 new file mode 100644
19 index 000000000..f01c5c268
20 --- /dev/null
21 +++ b/dev-libs/boost-compute/boost-compute-1.74.0.ebuild
22 @@ -0,0 +1,46 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit cmake
29 +
30 +DESCRIPTION="A header-only C++ Computing Library for OpenCL"
31 +HOMEPAGE="https://github.com/boostorg/compute"
32 +
33 +if [[ ${PV} == 9999 ]]; then
34 + inherit git-r3
35 + EGIT_REPO_URI="https://github.com/boostorg/compute"
36 +else
37 + SRC_URI="https://github.com/boostorg/compute/archive/boost-${PV}.tar.gz -> ${P}.tar.gz"
38 + S="${WORKDIR}"/compute-boost-${PV}
39 + KEYWORDS="~amd64"
40 +fi
41 +
42 +LICENSE="Boost-1.0"
43 +SLOT="0"
44 +IUSE="benchmark bolt cache cuda eigen examples opencv qt tbb test threads vtk"
45 +
46 +RDEPEND="
47 + dev-libs/boost
48 + virtual/opencl
49 +"
50 +DEPEND="${RDEPEND}"
51 +
52 +src_configure() {
53 + local mycmakeargs=(
54 + -DBOOST_COMPUTE_USE_OFFLINE_CACHE=$(usex cache)
55 + -DBOOST_COMPUTE_THREAD_SAFE=$(usex threads)
56 + -DBOOST_COMPUTE_HAVE_EIGEN=$(usex eigen)
57 + -DBOOST_COMPUTE_HAVE_OPENCV=$(usex opencv)
58 + -DBOOST_COMPUTE_HAVE_QT=$(usex qt)
59 + -DBOOST_COMPUTE_HAVE_VTK=$(usex vtk)
60 + -DBOOST_COMPUTE_HAVE_CUDA=$(usex cuda)
61 + -DBOOST_COMPUTE_HAVE_TBB=$(usex tbb)
62 + -DBOOST_COMPUTE_HAVE_BOLT=$(usex bolt)
63 + -DBOOST_COMPUTE_BUILD_TESTS=$(usex test)
64 + -DBOOST_COMPUTE_BUILD_BENCHMARKS=$(usex benchmark)
65 + -DBOOST_COMPUTE_BUILD_EXAMPLES=$(usex examples)
66 + )
67 + cmake_src_configure
68 +}