Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="x86 amd64" |
15 |
KEYWORDS="x86 amd64 ppc64" |
16 |
|
16 |
|
17 |
#mpi is a local USE flag now |
17 |
#mpi is a local USE flag now |
18 |
#May become official when situation with mpich is cleared (now the only mpi implementation awailable is lam-mpi) |
18 |
#May become official when situation with mpich is cleared (now the only mpi implementation awailable is lam-mpi) |
Lines 27-39
Link Here
|
27 |
#for troublesome work gromacs should be compiled with the same mpi setting as fftw. |
27 |
#for troublesome work gromacs should be compiled with the same mpi setting as fftw. |
28 |
#Unfortunately portage cannot trace optional dependencies of dependencies at present. |
28 |
#Unfortunately portage cannot trace optional dependencies of dependencies at present. |
29 |
#Until this (planned) feature is completed, please try to do corresponding check yourself. |
29 |
#Until this (planned) feature is completed, please try to do corresponding check yourself. |
30 |
local myconf |
|
|
31 |
|
32 |
# Enable asm on Alphas |
33 |
if [ "${ARCH}" = "alpha" ] |
34 |
then |
35 |
myconf="${myconf} --enable-axp-asm" |
36 |
fi |
37 |
|
30 |
|
38 |
# static should work but something's broken. |
31 |
# static should work but something's broken. |
39 |
# gcc spec file may be screwed up. |
32 |
# gcc spec file may be screwed up. |
Lines 45-53
Link Here
|
45 |
--datadir=/usr/share/${P} \ |
38 |
--datadir=/usr/share/${P} \ |
46 |
--bindir=/usr/bin \ |
39 |
--bindir=/usr/bin \ |
47 |
--libdir=/usr/lib \ |
40 |
--libdir=/usr/lib \ |
48 |
`use_with xml2 xml` \ |
41 |
$(use_with xml2 xml) \ |
49 |
`use_enable mpi` \ |
42 |
$(use_enable mpi) \ |
50 |
${myconf} || die "configure failed" |
43 |
$(use_enable altivec ppc-altivec) \ |
|
|
44 |
$(use_enable alpha axp-asm) || die "configure failed" |
51 |
|
45 |
|
52 |
# `use_enable static all-static` \ |
46 |
# `use_enable static all-static` \ |
53 |
|
47 |
|