14 |
|
# it to the library location so that it links correctly. |
15 |
|
PYTHIA="$PYTHIA6_ROOT/lib" |
16 |
|
LHAPDF="$LHAPDF_ROOT" |
17 |
< |
|
18 |
< |
PYTHIA=$PYTHIA LHAPDF=$LHAPDF ./configure --enable-shared --with-hepevt=4000 --prefix=%i F77=`which gfortran` |
19 |
< |
|
17 |
> |
case %cmsplatf in |
18 |
> |
slc5_*_gcc4[0123]*) |
19 |
> |
F77="`which gfortran`" |
20 |
> |
PLATF_CONFIG_OPTS="--enable-shared" |
21 |
> |
;; |
22 |
> |
*) |
23 |
> |
F77="`which gfortran` -fPIC" |
24 |
> |
PLATF_CONFIG_OPTS="--enable-static --disable-shared" |
25 |
> |
LIBS='-lstdc++ -lz' |
26 |
> |
;; |
27 |
> |
esac |
28 |
> |
PYTHIA=$PYTHIA LHAPDF=$LHAPDF ./configure $PLATF_CONFIG_OPTS --with-hepevt=4000 --prefix=%i F77="$F77" LIBS="$LIBS" |
29 |
|
%build |
30 |
|
make %makeprocesses |
31 |
|
|