Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/starpu: metadata.xml ChangeLog starpu-1.0.1.ebuild
Date: Thu, 31 May 2012 19:15:24
Message-Id: 20120531191509.D71A12004B@flycatcher.gentoo.org
1 bicatali 12/05/31 19:15:09
2
3 Modified: metadata.xml ChangeLog starpu-1.0.1.ebuild
4 Log:
5 Added doc, examples, and gcc-plugin flags. Fixed a wrong autoconf macro when checking for qt4
6
7 (Portage version: 2.1.10.63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 dev-libs/starpu/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/starpu/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 30 May 2012 00:29:47 -0000 1.1
23 +++ metadata.xml 31 May 2012 19:15:09 -0000 1.2
24 @@ -15,6 +15,7 @@
25 </longdescription>
26 <use>
27 <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
28 + <flag name="gcc-plugin">Enable GCC extension plugin (experimental)</flag>
29 <flag name="opencl">Enable OpenCL support</flag>
30 </use>
31 </pkgmetadata>
32
33
34
35 1.2 dev-libs/starpu/ChangeLog
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/ChangeLog?rev=1.2&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/ChangeLog?rev=1.2&content-type=text/plain
39 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/ChangeLog?r1=1.1&r2=1.2
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/dev-libs/starpu/ChangeLog,v
44 retrieving revision 1.1
45 retrieving revision 1.2
46 diff -u -r1.1 -r1.2
47 --- ChangeLog 30 May 2012 00:29:47 -0000 1.1
48 +++ ChangeLog 31 May 2012 19:15:09 -0000 1.2
49 @@ -1,6 +1,11 @@
50 # ChangeLog for dev-libs/starpu
51 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/ChangeLog,v 1.1 2012/05/30 00:29:47 bicatali Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/ChangeLog,v 1.2 2012/05/31 19:15:09 bicatali Exp $
54 +
55 + 31 May 2012; S├ębastien Fabbro <bicatali@g.o> starpu-1.0.1.ebuild,
56 + +files/starpu-1.0.1-detect-qt.patch, metadata.xml:
57 + Added doc, examples, and gcc-plugin flags. Fixed a wrong autoconf macro when
58 + checking for qt4
59
60 *starpu-1.0.1 (30 May 2012)
61
62
63
64
65 1.2 dev-libs/starpu/starpu-1.0.1.ebuild
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild?rev=1.2&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild?rev=1.2&content-type=text/plain
69 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild?r1=1.1&r2=1.2
70
71 Index: starpu-1.0.1.ebuild
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild,v
74 retrieving revision 1.1
75 retrieving revision 1.2
76 diff -u -r1.1 -r1.2
77 --- starpu-1.0.1.ebuild 30 May 2012 00:29:47 -0000 1.1
78 +++ starpu-1.0.1.ebuild 31 May 2012 19:15:09 -0000 1.2
79 @@ -1,6 +1,6 @@
80 # Copyright 1999-2012 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild,v 1.1 2012/05/30 00:29:47 bicatali Exp $
83 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/starpu/starpu-1.0.1.ebuild,v 1.2 2012/05/31 19:15:09 bicatali Exp $
84
85 EAPI=4
86
87 @@ -17,11 +17,11 @@
88 SLOT="0"
89 KEYWORDS="~amd64 ~x86"
90
91 -IUSE="blas cuda fftw mpi opencl qt4 static-libs"
92 +IUSE="blas cuda doc examples fftw gcc-plugin mpi opencl qt4 static-libs test"
93 RDEPEND="sys-apps/hwloc
94 sci-mathematics/glpk
95 blas? ( virtual/blas )
96 - cuda? ( dev-util/nvidia-cuda-toolkit )
97 + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
98 fftw? ( sci-libs/fftw:3.0 )
99 mpi? ( virtual/mpi )
100 opencl? ( virtual/opencl )
101 @@ -31,9 +31,11 @@
102 x11-libs/qwt )"
103
104 DEPEND="${RDEPEND}
105 - virtual/pkgconfig"
106 + virtual/pkgconfig
107 + test? ( gcc-plugin? ( dev-scheme/guile ) )"
108
109 PATCHES=(
110 + "${FILESDIR}"/${P}-detect-qt.patch
111 "${FILESDIR}"/${P}-respect-cflags.patch
112 "${FILESDIR}"/${P}-system-blas.patch
113 "${FILESDIR}"/${P}-no-examples.patch
114 @@ -43,12 +45,22 @@
115 src_configure() {
116 use blas && export BLAS_LIBS="$(pkg-config --libs blas)"
117 myeconfargs+=(
118 - --disable-gcc-extensions
119 $(use_enable cuda)
120 $(use_enable fftw starpufft)
121 + $(use_enable gcc-plugin gcc-extensions)
122 $(use_enable opencl)
123 $(use_enable qt4 starpu-top)
124 $(use_with mpi mpicc "$(type -P mpicc)")
125 + $(use mpi && use_enable test mpi-check)
126 )
127 autotools-utils_src_configure
128 }
129 +
130 +src_install() {
131 + autotools-utils_src_install
132 + use doc && dodoc doc/*.pdf
133 + if use examples; then
134 + insinto /usr/share/doc/${PF}/examples
135 + doins -r examples/*
136 + fi
137 +}