Gentoo Archives: gentoo-commits

From: Justin Bronder <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwloc/
Date: Mon, 15 Apr 2019 20:02:11
Message-Id: 1555358456.9377a0a43cb2a4bc366efe449419659200dc3d08.jsbronder@gentoo
1 commit: 9377a0a43cb2a4bc366efe449419659200dc3d08
2 Author: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 15 20:00:48 2019 +0000
4 Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 15 20:00:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9377a0a4
7
8 sys-apps/hwloc: explicitly disable opencl
9
10 Per #683216, OpenCL will get picked up automatically.
11
12 Signed-off-by: Justin Bronder <jsbronder <AT> gentoo.org>
13 Package-Manager: Portage-2.3.62, Repoman-2.3.11
14
15 sys-apps/hwloc/{hwloc-2.0.2.ebuild => hwloc-2.0.2-r1.ebuild} | 9 +++------
16 1 file changed, 3 insertions(+), 6 deletions(-)
17
18 diff --git a/sys-apps/hwloc/hwloc-2.0.2.ebuild b/sys-apps/hwloc/hwloc-2.0.2-r1.ebuild
19 similarity index 88%
20 rename from sys-apps/hwloc/hwloc-2.0.2.ebuild
21 rename to sys-apps/hwloc/hwloc-2.0.2-r1.ebuild
22 index 971dfae0ef6..57d0a74d2dd 100644
23 --- a/sys-apps/hwloc/hwloc-2.0.2.ebuild
24 +++ b/sys-apps/hwloc/hwloc-2.0.2-r1.ebuild
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2018 Gentoo Authors
27 +# Copyright 1999-2019 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=6
31 @@ -14,13 +14,11 @@ SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2"
32 LICENSE="BSD"
33 SLOT="0/5"
34 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
35 -IUSE="cairo cuda debug gl +numa +pci plugins svg static-libs xml X"
36 +IUSE="cairo cuda debug gl +pci plugins svg static-libs xml X"
37
38 # opencl support dropped with x11-drivers/ati-drivers being removed (#582406).
39 # Anyone with hardware is welcome to step up and help test to get it re-added.
40
41 -# dev-util/nvidia-cuda-toolkit is always multilib
42 -
43 RDEPEND=">=sys-libs/ncurses-5.9-r3:0[${MULTILIB_USEDEP}]
44 cairo? ( >=x11-libs/cairo-1.12.14-r4[X?,svg?,${MULTILIB_USEDEP}] )
45 cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1:= )
46 @@ -30,7 +28,6 @@ RDEPEND=">=sys-libs/ncurses-5.9-r3:0[${MULTILIB_USEDEP}]
47 >=x11-libs/libpciaccess-0.13.1-r1[${MULTILIB_USEDEP}]
48 )
49 plugins? ( dev-libs/libltdl:0[${MULTILIB_USEDEP}] )
50 - numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )
51 xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )"
52 DEPEND="${RDEPEND}
53 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
54 @@ -57,6 +54,7 @@ multilib_src_configure() {
55 fi
56
57 ECONF_SOURCE=${S} econf \
58 + --disable-opencl \
59 $(use_enable static-libs static) \
60 $(use_enable cairo) \
61 $(multilib_native_use_enable cuda) \
62 @@ -64,7 +62,6 @@ multilib_src_configure() {
63 $(multilib_native_use_enable gl) \
64 $(use_enable pci) \
65 $(use_enable plugins) \
66 - $(use_enable numa libnuma) \
67 $(use_enable xml libxml2) \
68 $(use_with X x)
69 }