Skip to content

Commit

Permalink
lhapdf: enable python extension
Browse files Browse the repository at this point in the history
Before LHAPDF was built w/o Python extensions.
Request: https://hypernews.cern.ch/HyperNews/CMS/get/swDevelopment/2786.html

Signed-off-by: David Abdurachmanov <[email protected]>
  • Loading branch information
David Abdurachmanov committed Jun 11, 2013
1 parent 4e2af5c commit e33e093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lhapdf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CXX="`which %{cms_cxx}` -fPIC"
CC="`which gcc` -fPIC"

# Configure first with low memory.
./configure --prefix=%{i} --enable-static --disable-shared --disable-pyext \
./configure --prefix=%{i} --enable-static --disable-shared --enable-pyext \
--disable-octave --disable-doxygen --enable-low-memory \
--with-max-num-pdfsets=1 \
FC="$FC" CXX="$CXX" CC="$CC" \
Expand All @@ -76,7 +76,7 @@ popd
# do another install-round for full libs
make distclean
./configure --prefix=%{i}/full --enable-static --disable-shared \
--disable-pyext --disable-octave --disable-doxygen \
--enable-pyext --disable-octave --disable-doxygen \
FC="$FC" CXX="$CXX" CC="$CC" \
CPPFLAGS="-I ${ZLIB_ROOT}/include" CXXFLAGS="%cms_cxxflags" LDFLAGS="-L${ZLIB_ROOT}/lib -lz"
make %{makeprocesses}
Expand Down

0 comments on commit e33e093

Please sign in to comment.