/[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.8 Revision 1.9
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.8 2010/12/16 15:59:56 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/Attic/openmpi-1.4.2.ebuild,v 1.9 2010/12/19 17:51:36 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
66 --enable-mpi-threads 66 --enable-mpi-threads
67 --enable-progress-threads" 67 --enable-progress-threads"
68 fi 68 fi
69 69
70 if use fortran; then 70 if use fortran; then
71 if [[ "$(tc-getFC)" = "g77" ]]; then 71 if [[ $(tc-getFC) =~ g77 ]]; then
72 myconf="${myconf} --disable-mpi-f90" 72 myconf="${myconf} --disable-mpi-f90"
73 elif [[ "$(tc-getFC)" = if* ]]; then 73 elif [[ $(tc-getFC) =~ if ]]; then
74 # Enabled here as gfortran compile times are huge with this enabled. 74 # Enabled here as gfortran compile times are huge with this enabled.
75 myconf="${myconf} --with-mpi-f90-size=medium" 75 myconf="${myconf} --with-mpi-f90-size=medium"
76 fi 76 fi
77 else 77 else
78 myconf="${myconf} 78 myconf="${myconf}

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20