[Rivet-svn] rivet: 12 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Sat Mar 26 21:00:02 GMT 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/fbdf002233a0
branches:  
changeset: 5053:fbdf002233a0
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 16:55:35 2016 +0000
description:
Require C++11 support in Rivet compilation.

details:   https://rivet.hepforge.org/hg/rivet/rev/64af5725301a
branches:  
changeset: 5054:64af5725301a
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 17:01:12 2016 +0000
description:
Propagate identity and C++ dialect flags from Rivet to rivet-config

details:   https://rivet.hepforge.org/hg/rivet/rev/72d4c8a4b1c6
branches:  
changeset: 5055:72d4c8a4b1c6
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 17:03:35 2016 +0000
description:
Propagate identity and C++ dialect flags from Rivet to rivet-buildplugin

details:   https://rivet.hepforge.org/hg/rivet/rev/acdf115781e1
branches:  
changeset: 5056:acdf115781e1
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 17:07:43 2016 +0000
description:
Add an EXAMPLE_SMEAR analysis.

details:   https://rivet.hepforge.org/hg/rivet/rev/21ffc8427031
branches:  
changeset: 5057:21ffc8427031
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 17:59:25 2016 +0000
description:
Renaming, etc. in smeared jets example... needs more work for some reason

details:   https://rivet.hepforge.org/hg/rivet/rev/fad1eec52bde
branches:  
changeset: 5058:fad1eec52bde
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 20:38:58 2016 +0000
description:
Tidying

details:   https://rivet.hepforge.org/hg/rivet/rev/d660504f2e9a
branches:  
changeset: 5059:d660504f2e9a
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 20:59:08 2016 +0000
description:
Working except for lambda casts to size_t, which don't work for general lambdas.. argh!

details:   https://rivet.hepforge.org/hg/rivet/rev/cb0123def69a
branches:  
changeset: 5060:cb0123def69a
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 22:21:27 2016 +0000
description:
Better attempt at comparison function... right?

details:   https://rivet.hepforge.org/hg/rivet/rev/a71b7425c34d
branches:  
changeset: 5061:a71b7425c34d
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 22:47:11 2016 +0000
description:
More function template chicanery and docstrings

details:   https://rivet.hepforge.org/hg/rivet/rev/22e09855568c
branches:  
changeset: 5062:22e09855568c
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 23:10:44 2016 +0000
description:
Eliminate auto_ptr in favour of unique_ptr and a few std::move casts

details:   https://rivet.hepforge.org/hg/rivet/rev/f71238a4fde1
branches:  
changeset: 5063:f71238a4fde1
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Mar 25 23:36:48 2016 +0000
description:
First steps to C++11 replacing Boost: std::shared_ptr and foreach in use from STL now. Fix needed for HepMC particles_X methods which currently return pairs of iterators rather than 'proper' begin/end ranges

details:   https://rivet.hepforge.org/hg/rivet/rev/31bdf9176fad
branches:  
changeset: 5064:31bdf9176fad
user:      Andy Buckley <andy at insectnation.org>
date:      Sat Mar 26 20:45:03 2016 +0000
description:
Modify HepMC particle range returns for C++11 range-for compatibility

diffs (truncated from 2184 to 50 lines):

--- a/ChangeLog	Wed Mar 23 17:16:52 2016 +0000
+++ b/ChangeLog	Sat Mar 26 20:45:03 2016 +0000
@@ -1,3 +1,14 @@
+2016-03-25  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Start replacing Boost foreach and shared_ptr with C++11 features.
+
+	* Add an EXAMPLE_SMEAR analysis.
+
+	* Propagate identity and C++ dialect flags from Rivet to
+	rivet-config and rivet-buildplugin.
+
+	* Require C++11 support in Rivet compilation.
+
 2016-03-23  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Add basic forms of new SmearedJets and SmearedParticles
--- a/bin/rivet-buildplugin.in	Wed Mar 23 17:16:52 2016 +0000
+++ b/bin/rivet-buildplugin.in	Sat Mar 26 20:45:03 2016 +0000
@@ -48,7 +48,7 @@
 
 ## Get Rivet system C++ compiler (fall back to $CXX and then g++ if needed)
 mycxx=g++
-rivetcxx=$(which "@CXX@" 2> /dev/null)
+rivetcxx=$(which "@RIVETCXX@" 2> /dev/null)
 abscxx=$(which "$CXX" 2> /dev/null)
 if [[ -x "$rivetcxx" ]]; then
     mycxx="@CXX@"
@@ -61,8 +61,8 @@
 if [[ -n "@AM_CXXFLAGS@" ]]; then
     mycxxflags="@AM_CXXFLAGS@"
 fi
-if [[ -n "@CXXFLAGS@" ]]; then
-    mycxxflags="$mycxxflags @CXXFLAGS@"
+if [[ -n "@RIVETCXXFLAGS@" ]]; then
+    mycxxflags="$mycxxflags @RIVETCXXFLAGS@"
 fi
 
 ## Get Rivet system C preprocessor flags (duplicating that in rivet-config.in)
--- a/bin/rivet-config.in	Wed Mar 23 17:16:52 2016 +0000
+++ b/bin/rivet-config.in	Sat Mar 26 20:45:03 2016 +0000
@@ -27,6 +27,7 @@
     echo "  --datadir     : show the path to the directory containing Rivet data"
     echo "  --pythonpath  : show the path(s) to the directory containing Rivet's Python package"
     echo
+    echo "  --cxx         : returns a compiler string mathing that used to build Rivet"
     echo "  --cppflags    : returns a Rivet '-I' string for insertion into CPPFLAGS"
     echo "  --ldflags     : returns a Rivet '-L' string for insertion into LDFLAGS"
     echo "  --libs        : returns a Rivet '-l' string for insertion into LIBS or LIBADD"
@@ -52,7 +53,14 @@


More information about the Rivet-svn mailing list