Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: ChangeLog octave-2.1.73-r1.ebuild octave-2.1.73.ebuild octave-2.1.73-r2.ebuild
Date: Tue, 25 Dec 2007 01:47:07
Message-Id: E1J6ysi-0002IN-JG@stork.gentoo.org
1 nerdboy 07/12/25 01:46:56
2
3 Modified: ChangeLog octave-2.1.73-r1.ebuild
4 octave-2.1.73.ebuild octave-2.1.73-r2.ebuild
5 Log:
6 updated to check for mpich2 cxx interface (which breaks standard headers)
7 (Portage version: 2.1.4_rc7)
8
9 Revision Changes Path
10 1.51 sci-mathematics/octave/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.51&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.51&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.50&r2=1.51
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
19 retrieving revision 1.50
20 retrieving revision 1.51
21 diff -u -r1.50 -r1.51
22 --- ChangeLog 18 Dec 2007 10:29:01 -0000 1.50
23 +++ ChangeLog 25 Dec 2007 01:46:56 -0000 1.51
24 @@ -1,6 +1,16 @@
25 # ChangeLog for sci-mathematics/octave
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.50 2007/12/18 10:29:01 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.51 2007/12/25 01:46:56 nerdboy Exp $
29 +
30 + 25 Dec 2007; Steve Arnold <nerdboy@g.o> octave-2.1.73.ebuild,
31 + octave-2.1.73-r1.ebuild, octave-2.1.73-r2.ebuild:
32 + Updated to check for mpich2 cxx interface (which breaks standard headers)
33 + to address bug #182904). Unfortunately, the mpich2 headers aren't
34 + compatible with the standard ones (see bug #202304) so each package is
35 + responsible for the workaround and breakage checking; see the above bug
36 + for upstream octave response. Although it kicks the build, the best way
37 + to handle it for now seems to be getting rid of the offending mpich2 C++
38 + libraries and include nastiness.
39
40 18 Dec 2007; Markus Dittrich <markusle@g.o>
41 octave-2.1.73-r2.ebuild:
42
43
44
45 1.7 sci-mathematics/octave/octave-2.1.73-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild?rev=1.7&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild?rev=1.7&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild?r1=1.6&r2=1.7
50
51 Index: octave-2.1.73-r1.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild,v
54 retrieving revision 1.6
55 retrieving revision 1.7
56 diff -u -r1.6 -r1.7
57 --- octave-2.1.73-r1.ebuild 20 Nov 2007 14:46:56 -0000 1.6
58 +++ octave-2.1.73-r1.ebuild 25 Dec 2007 01:46:56 -0000 1.7
59 @@ -1,6 +1,6 @@
60 # Copyright 1999-2007 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild,v 1.6 2007/11/20 14:46:56 markusle Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild,v 1.7 2007/12/25 01:46:56 nerdboy Exp $
64
65 inherit flag-o-matic fortran autotools
66
67 @@ -58,20 +58,29 @@
68 # mpicc/mpic++
69 # octave links agains -lmpi by default
70 # mpich needs -lmpich instead
71 - if use mpi; then
72 - CC="mpicc" && CXX="mpiCC"
73 - if has_version 'sys-cluster/mpich'; then
74 - myconf="${myconf} --with-mpi=mpich"
75 + if use mpi ; then
76 + if built_with_use sys-cluster/mpich2 cxx ; then
77 + elog "mpich2 must be built without C++ support!"
78 + die "please rebuild mpich2 with USE=-cxx..."
79 + else
80 + CC="mpicc"
81 + if has_version 'sys-cluster/mpich' ; then
82 + CXX="mpiCC"
83 + myconf="${myconf} --with-mpi=mpich"
84 + elif has_version 'sys-cluster/mpich2' ; then
85 + F77="mpif77"
86 + myconf="${myconf} --with-mpi=mpich"
87 else
88 - myconf="${myconf} --with-mpi=mpi"
89 + myconf="${myconf} --with-mpi=mpi"
90 fi
91 + fi
92 else
93 - CC="$(tc-getCC)"
94 - CXX="$(tc-getCXX)"
95 - myconf="${myconf} --without-mpi"
96 + CC="$(tc-getCC)"
97 + CXX="$(tc-getCXX)"
98 + myconf="${myconf} --without-mpi"
99 fi
100
101 - CC="${CC}" CXX="${CXX}" \
102 + CC="${CC}" CXX="${CXX}" F77="${F77}" \
103 econf \
104 $(use_with hdf5) \
105 $(use_enable readline) \
106
107
108
109 1.9 sci-mathematics/octave/octave-2.1.73.ebuild
110
111 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild?rev=1.9&view=markup
112 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild?rev=1.9&content-type=text/plain
113 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild?r1=1.8&r2=1.9
114
115 Index: octave-2.1.73.ebuild
116 ===================================================================
117 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild,v
118 retrieving revision 1.8
119 retrieving revision 1.9
120 diff -u -r1.8 -r1.9
121 --- octave-2.1.73.ebuild 20 Nov 2007 14:46:56 -0000 1.8
122 +++ octave-2.1.73.ebuild 25 Dec 2007 01:46:56 -0000 1.9
123 @@ -1,6 +1,6 @@
124 # Copyright 1999-2007 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild,v 1.8 2007/11/20 14:46:56 markusle Exp $
127 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild,v 1.9 2007/12/25 01:46:56 nerdboy Exp $
128
129 inherit flag-o-matic fortran
130
131 @@ -53,20 +53,29 @@
132 # mpicc/mpic++
133 # octave links agains -lmpi by default
134 # mpich needs -lmpich instead
135 - if use mpi; then
136 - CC="mpicc" && CXX="mpiCC"
137 - if has_version 'sys-cluster/mpich'; then
138 - myconf="${myconf} --with-mpi=mpich"
139 + if use mpi ; then
140 + if built_with_use sys-cluster/mpich2 cxx ; then
141 + elog "mpich2 must be built without C++ support!"
142 + die "please rebuild mpich2 with USE=-cxx..."
143 + else
144 + CC="mpicc"
145 + if has_version 'sys-cluster/mpich' ; then
146 + CXX="mpiCC"
147 + myconf="${myconf} --with-mpi=mpich"
148 + elif has_version 'sys-cluster/mpich2' ; then
149 + F77="mpif77"
150 + myconf="${myconf} --with-mpi=mpich"
151 else
152 - myconf="${myconf} --with-mpi=mpi"
153 + myconf="${myconf} --with-mpi=mpi"
154 fi
155 + fi
156 else
157 - CC="$(tc-getCC)"
158 - CXX="$(tc-getCXX)"
159 - myconf="${myconf} --without-mpi"
160 + CC="$(tc-getCC)"
161 + CXX="$(tc-getCXX)"
162 + myconf="${myconf} --without-mpi"
163 fi
164
165 - CC="${CC}" CXX="${CXX}" \
166 + CC="${CC}" CXX="${CXX}" F77="${F77}" \
167 econf \
168 $(use_with hdf5) \
169 $(use_enable readline) \
170
171
172
173 1.5 sci-mathematics/octave/octave-2.1.73-r2.ebuild
174
175 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?rev=1.5&view=markup
176 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?rev=1.5&content-type=text/plain
177 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?r1=1.4&r2=1.5
178
179 Index: octave-2.1.73-r2.ebuild
180 ===================================================================
181 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v
182 retrieving revision 1.4
183 retrieving revision 1.5
184 diff -u -r1.4 -r1.5
185 --- octave-2.1.73-r2.ebuild 18 Dec 2007 10:29:01 -0000 1.4
186 +++ octave-2.1.73-r2.ebuild 25 Dec 2007 01:46:56 -0000 1.5
187 @@ -1,6 +1,6 @@
188 # Copyright 1999-2007 Gentoo Foundation
189 # Distributed under the terms of the GNU General Public License v2
190 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v 1.4 2007/12/18 10:29:01 markusle Exp $
191 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v 1.5 2007/12/25 01:46:56 nerdboy Exp $
192
193 inherit flag-o-matic fortran autotools xemacs-elisp-common
194
195 @@ -62,23 +62,29 @@
196 # mpicc/mpic++
197 # octave links agains -lmpi by default
198 # mpich needs -lmpich instead
199 - if use mpi; then
200 - CC="mpicc" && CXX="mpiCC"
201 - if has_version 'sys-cluster/mpich'; then
202 - myconf="${myconf} --with-mpi=mpich"
203 + if use mpi ; then
204 + if built_with_use sys-cluster/mpich2 cxx ; then
205 + elog "mpich2 must be built without C++ support!"
206 + die "please rebuild mpich2 with USE=-cxx..."
207 + else
208 + CC="mpicc"
209 + if has_version 'sys-cluster/mpich' ; then
210 + CXX="mpiCC"
211 + myconf="${myconf} --with-mpi=mpich"
212 + elif has_version 'sys-cluster/mpich2' ; then
213 + F77="mpif77"
214 + myconf="${myconf} --with-mpi=mpich"
215 else
216 - myconf="${myconf} --with-mpi=mpi"
217 + myconf="${myconf} --with-mpi=mpi"
218 fi
219 + fi
220 else
221 - CC="$(tc-getCC)"
222 - CXX="$(tc-getCXX)"
223 - myconf="${myconf} --without-mpi"
224 + CC="$(tc-getCC)"
225 + CXX="$(tc-getCXX)"
226 + myconf="${myconf} --without-mpi"
227 fi
228
229 - # force use of external blas and lapack
230 - myconf="${myconf} --with-blas=blas --with-lapack=lapack"
231 -
232 - CC="${CC}" CXX="${CXX}" \
233 + CC="${CC}" CXX="${CXX}" F77="${F77}" \
234 econf \
235 $(use_with hdf5) \
236 $(use_enable readline) \
237
238
239
240 --
241 gentoo-commits@g.o mailing list