/[gentoo-x86]/sys-cluster/openmpi/openmpi-1.4.2.ebuild
Gentoo

Diff of /sys-cluster/openmpi/openmpi-1.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/Attic/openmpi-1.4.2.ebuild,v 1.10 2010/12/19 18:12:39 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/Attic/openmpi-1.4.2.ebuild,v 1.11 2010/12/19 18:16:44 jlec Exp $
4 4
5EAPI=3 5EAPI=3
6inherit eutils multilib flag-o-matic toolchain-funcs 6inherit eutils multilib flag-o-matic toolchain-funcs
7 7
8MY_P=${P/-mpi} 8MY_P=${P/-mpi}
53 fi 53 fi
54} 54}
55 55
56src_configure() { 56src_configure() {
57 local myconf=( 57 local myconf=(
58 --sysconfdir=${EPREFIX}/etc/${PN} 58 --sysconfdir="${EPREFIX}/etc/${PN}"
59 --without-xgrid 59 --without-xgrid
60 --enable-pretty-print-stacktrace 60 --enable-pretty-print-stacktrace
61 --enable-orterun-prefix-by-default 61 --enable-orterun-prefix-by-default
62 --without-slurm) 62 --without-slurm)
63 63
64 if use mpi-threads; then 64 if use mpi-threads; then
65 myconf+=(${myconf}
66 --enable-mpi-threads 65 myconf+=(--enable-mpi-threads
67 --enable-progress-threads) 66 --enable-progress-threads)
68 fi 67 fi
69 68
70 if use fortran; then 69 if use fortran; then
71 if [[ $(tc-getFC) =~ g77 ]]; then 70 if [[ $(tc-getFC) =~ g77 ]]; then
72 myconf+=(${myconf} --disable-mpi-f90) 71 myconf+=(--disable-mpi-f90)
73 elif [[ $(tc-getFC) =~ if ]]; then 72 elif [[ $(tc-getFC) =~ if ]]; then
74 # Enabled here as gfortran compile times are huge with this enabled. 73 # Enabled here as gfortran compile times are huge with this enabled.
75 myconf+=(${myconf} --with-mpi-f90-size=medium) 74 myconf+=(--with-mpi-f90-size=medium)
76 fi 75 fi
77 else 76 else
78 myconf+=(${myconf} 77 myconf+=(--disable-mpi-f90 --disable-mpi-f77)
79 --disable-mpi-f90
80 --disable-mpi-f77)
81 fi 78 fi
82 79
83 ! use vt && myconf+=(${myconf} --enable-contrib-no-build=vt) 80 ! use vt && myconf+=(--enable-contrib-no-build=vt)
84 81
85 econf ${myconf} \ 82 econf ${myconf} \
86 $(use_enable cxx mpi-cxx) \ 83 $(use_enable cxx mpi-cxx) \
87 $(use_enable romio io-romio) \ 84 $(use_enable romio io-romio) \
88 $(use_enable heterogeneous) \ 85 $(use_enable heterogeneous) \

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20