Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, jsbronder@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openmpi: ChangeLog openmpi-1.1.1.ebuild openmpi-1.2.4.ebuild
Date: Thu, 13 Dec 2007 09:21:05
Message-Id: 20071213091812.GM31432@supernova
1 On 02:10 Thu 13 Dec , Justin Bronder (jsbronder) wrote:
2 > 1.1 sys-cluster/openmpi/openmpi-1.2.4.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild?rev=1.1&content-type=text/plain
6
7 > if [[ -n "${FORTRANC}" ]]; then
8
9 This should be 'if use fortran' like the one earlier, to make it clear
10 what you're really testing: whether it's a fortran-enabled build.
11
12 > if [[ "${FORTRANC}" = "g77" ]]; then
13 > myconf="${myconf} --disable-mpi-f90"
14 > elif [[ "${FORTRANC}" = "gfortran" ]]; then
15 > # Because that's just a pain in the butt.
16 > myconf="${myconf} --with-wrapper-fflags=-I/usr/include"
17 > fi
18 > else
19 > myconf="${myconf}
20 > --disable-mpi-f90
21 > --disable-mpi-f77"
22 > fi
23 >
24 > econf ${myconf} \
25 > $(use_enable !nocxx mpi-cxx) \
26 > $(use_enable romio romio-io) \
27 > $(use_enable smp smp-locks) \
28 > $(use_enable heterogeneous heterogeneous) \
29
30 You don't need the second argument, it's identical to the first if not
31 present.
32
33 > $(use_with pbs tm /usr/$(get_libdir)/pbs) \
34 > $(use_with slurm) \
35 > $(use_enable ipv6) \
36 > || die "econf failed"
37 >
38 > emake || die "emake failed"
39 > }
40 >
41 > src_install () {
42 > make DESTDIR="${D}" install || die "make install failed"
43 > dodoc README AUTHORS NEWS VERSION
44 > }
45
46 Does emake work?
47
48 Thanks,
49 Donnie
50 --
51 gentoo-dev@g.o mailing list

Replies