Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217714 Details for
Bug 302056
sci-libs/netcdf-4.0.1 fails to configure with sys-cluster/openmpi and mpi USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding cxx flag, mpi as a dependency, hdf5 must use [mpi=]
netcdf-4.0.1.diff (text/plain), 1.21 KB, created by
Kacper Kowalik (Xarthisius) (RETIRED)
on 2010-01-28 11:25:49 UTC
(
hide
)
Description:
adding cxx flag, mpi as a dependency, hdf5 must use [mpi=]
Filename:
MIME Type:
Creator:
Kacper Kowalik (Xarthisius) (RETIRED)
Created:
2010-01-28 11:25:49 UTC
Size:
1.21 KB
patch
obsolete
>--- netcdf-4.0.1.ebuild.orig 2010-01-28 12:22:03.450960357 +0100 >+++ netcdf-4.0.1.ebuild 2010-01-28 12:22:40.361722769 +0100 >@@ -12,14 +12,15 @@ > > LICENSE="UCAR-Unidata" > SLOT="0" >-IUSE="doc fortran hdf5 mpi szip" >+IUSE="doc fortran hdf5 mpi szip cxx" > KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" > >-RDEPEND="hdf5? ( >=sci-libs/hdf5-1.8[zlib,szip?,mpi?] )" >+RDEPEND="hdf5? ( >=sci-libs/hdf5-1.8[zlib,szip?,mpi=] )" > DEPEND="${RDEPEND} > >=sys-devel/libtool-2.2 > doc? ( virtual/latex-base ) >- fortran? ( dev-lang/cfortran )" >+ fortran? ( dev-lang/cfortran ) >+ mpi? ( virtual/mpi[cxx?,fortran?] )" > > src_prepare() { > epatch "${FILESDIR}"/${P}-as-needed.patch >@@ -33,12 +34,23 @@ > myconf="--with-hdf5=/usr --with-zlib=/usr" > use szip && myconf="${myconf} --with-szlib=/usr" > fi >+ if use mpi; then >+ export CC=mpicc >+ if use cxx; then >+ export CXX=mpicxx >+ fi >+ if use fortran; then >+ export FC=mpif90 >+ export F77=mpif77 >+ fi >+ fi > > econf \ > --docdir=/usr/share/doc/${PF} \ > --enable-shared \ > $(use_enable fortran f77) \ > $(use_enable fortran f90) \ >+ $(use_enable cxx cxx) \ > $(use_enable fortran separate-fortran) \ > $(use_enable hdf5 netcdf-4) \ > $(use_enable hdf5 ncgen4) \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 302056
:
217318
|
217714
|
217755
|
217756