|
[Rivet-svn] rivet: add early bailout if no cython and core.cpp is missingRivet Mercurial rivet at projects.hepforge.orgTue Sep 27 18:30:01 BST 2016
details: https://rivet.hepforge.org/hg/rivet/rev/e4c5f2553122 branches: release-2-5-x changeset: 5528:e4c5f2553122 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Tue Sep 27 18:17:57 2016 +0100 description: add early bailout if no cython and core.cpp is missing diffs (16 lines): --- a/configure.ac Tue Sep 27 17:54:45 2016 +0100 +++ b/configure.ac Tue Sep 27 18:17:57 2016 +0100 @@ -292,6 +292,13 @@ pip install --user cython==0.23.5 **************************************************]); CYTHON_FOUND="no"]) fi + + AC_CHECK_FILE([pyext/rivet/core.cpp], + [], + [if test "x$CYTHON_FOUND" != "xyes"; then + AC_MSG_ERROR([Cython is required for --enable-pyext.]) + fi]) + cython_compiler=$CXX ## Set extra Python extension build flags (to cope with Cython output code oddities) PYEXT_CXXFLAGS="$CXXFLAGS"
More information about the Rivet-svn mailing list |