Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 239809 Details for
Bug 329419
BigDFT ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sci-libs/bigdft-1.2.0.2-r2.ebuild
bigdft-1.2.0.2-r2.ebuild (text/plain), 2.26 KB, created by
Honza Macháček
on 2010-07-22 14:44:19 UTC
(
hide
)
Description:
sci-libs/bigdft-1.2.0.2-r2.ebuild
Filename:
MIME Type:
Creator:
Honza Macháček
Created:
2010-07-22 14:44:19 UTC
Size:
2.26 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI="2" > >inherit fortran toolchain-funcs > >DESCRIPTION="A DFT electronic structure code using a wavelet basis set" >HOMEPAGE="http://inac.cea.fr/L_Sim/BigDFT/" >SRC_URI="http://inac.cea.fr/L_Sim/BigDFT/${P}.tar.gz > http://inac.cea.fr/L_Sim/BigDFT/${PN}-1.3.2.tar.gz" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="cuda doc libxc mpi test" > >RDEPEND="virtual/blas > virtual/lapack > mpi? ( virtual/mpi ) > cuda? ( dev-util/nvidia-cuda-sdk ) > libxc? ( sci-libs/libxc )" >DEPEND="${RDEPEND} > >=sys-devel/autoconf-2.59 > doc? ( virtual/latex-base )" > ># F90 code, g77 won't work >FORTRAN="gfortran ifc f95 mpif90" > >src_prepare() { > epatch ${FILESDIR}/${P}-0001.patch > epatch ${FILESDIR}/${P}-0002.patch > epatch ${FILESDIR}/${P}-0003.patch > epatch ${FILESDIR}/${P}-0004.patch > epatch ${FILESDIR}/${P}-testH.patch > > rm -r src/PSolver/ABINIT-common > mv ../${PN}-1.3.2/src/PSolver/ABINIT-common src/PSolver/ > sed -i -e's%@LIBXC_INCLUDE@%-I/usr/lib/finclude%g' \ > src/PSolver/ABINIT-common/Makefile.* > sed -i -e's%config\.inc%config.h%g' \ > src/PSolver/ABINIT-common/*.F90 >} > >src_configure() { > if use mpi; then > MY_FC="mpif90" > MY_CC="mpicc" > else > MY_FC="${FORTRANC}" > MY_CC="$(tc-getCC)" > fi > > econf \ > $(use_enable mpi) \ > $(use_enable libxc) \ > --enable-libpoissonsolver \ > --enable-libbigdft \ > --enable-binaries \ > --with-moduledir=/usr/$(get_libdir)/finclude \ > --with-ext-linalg="`pkg-config --libs-only-l lapack`" \ > --with-ext-linalg-path="`pkg-config --libs-only-L lapack`" \ > --enable-internal-libxc="no" \ > --with-libxc-path="/usr/$(get_libdir)" \ > --with-xc-module-path="/usr/lib/finclude" \ > $(use_enable cuda cuda-gpu) \ > $(use_with cuda cuda-path /opt/cuda) \ > $(use_with cuda lib-cutils /opt/cuda/lib) \ > FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" \ > FC="${MY_FC}" \ > CC="${MY_CC}" \ > LD="$(tc-getLD)" \ > || die "configure failed" >} > >src_compile() { > emake HAVE_LIBXC=1 || die "make failed" > if use doc; then > emake HAVE_LIBXC=1 doc || die "make doc failed" > fi >} > >src_test() { > if use test; then > emake check > fi >} > >src_install() { > emake HAVE_LIBXC=1 DESTDIR="${D}" install || die "install failed" > dodoc README INSTALL COPYING ChangeLog AUTHORS NEWS || die "dodoc failed" >} >
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 Raw
Actions:
View
Attachments on
bug 329419
:
239809
|
239811
|
239813
|
239815
|
239817
|
239819
|
253687
|
260295
|
260403