
* Add Rivet and YODA * Add patches * Flake-8 * Set level for Rivet patches * Syntax fix * Fix dependencies of Rivet * Update var/spack/repos/builtin/packages/rivet/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
patch written by GENSER to avoid system libraries of GLS coming from fastjet-config
|
|
--- include/Rivet/Tools/JetUtils.hh
|
|
+++ include/Rivet/Tools/JetUtils.hh
|
|
@@ -47,4 +47,5 @@
|
|
struct BoolJetFunctor {
|
|
virtual bool operator()(const Jet& p) const = 0;
|
|
+ virtual ~BoolJetFunctor() {}
|
|
};
|
|
|
|
--- include/Rivet/Tools/ParticleBaseUtils.hh
|
|
+++ include/Rivet/Tools/ParticleBaseUtils.hh
|
|
@@ -23,4 +23,5 @@
|
|
struct BoolParticleBaseFunctor {
|
|
virtual bool operator()(const ParticleBase& p) const = 0;
|
|
+ virtual ~BoolParticleBaseFunctor() {}
|
|
};
|
|
|
|
@@ -397,4 +398,5 @@
|
|
struct DoubleParticleBaseFunctor {
|
|
virtual double operator()(const ParticleBase& p) const = 0;
|
|
+ virtual ~DoubleParticleBaseFunctor() {}
|
|
};
|
|
|
|
--- include/Rivet/Tools/ParticleUtils.hh
|
|
+++ include/Rivet/Tools/ParticleUtils.hh
|
|
@@ -486,4 +486,5 @@
|
|
struct BoolParticleFunctor {
|
|
virtual bool operator()(const Particle& p) const = 0;
|
|
+ virtual ~BoolParticleFunctor() {}
|
|
};
|
|
|
|
--- src/Makefile.in.orig 2018-01-30 13:52:58.641670247 +0100
|
|
+++ src/Makefile.in 2018-01-30 13:53:19.377586118 +0100
|
|
@@ -449,7 +449,7 @@
|
|
libRivet_la_SOURCES =
|
|
libRivet_la_LDFLAGS = -export-dynamic -avoid-version -L$(YODALIBPATH) -L$(HEPMCLIBPATH)
|
|
libRivet_la_LIBADD = Core/libRivetCore.la Projections/libRivetProjections.la Tools/libRivetTools.la $(ANA_LIBADD) \
|
|
- -lYODA -lHepMC -ldl -lm $(FASTJETCONFIGLIBADD) $(GSL_LDFLAGS)
|
|
+ -lYODA -lHepMC -ldl -lm $(GSL_LDFLAGS) $(FASTJETCONFIGLIBADD)
|
|
|
|
all: all-recursive
|
|
|