[Rivet] bootstrap setup script for the trunk?

Andy Buckley andy.buckley at cern.ch
Fri Jan 17 21:11:12 GMT 2014


On 16/01/14 15:26, William Hamish Bell wrote:
> Hi,
> 
> Does a bootstrap script exist for working on the trunk?  I have hg running and have followed
> 
> https://rivet.hepforge.org/trac/wiki/GettingStartedForDevelopers
> 
> but need a recipe for setting all the other environmental variables for building on lxplus.

Hi Will,

There's no bootstrap script for the trunk, just because our last
bootstrap became unmaintainable due to trying to do too much: when
version 2 we released we made it far simpler but at the same time
restricted it to only work with tarballs.

I'll admit that I also thought that any developers who need a bootstrap
script are probably best kept away from our code, but I know you're a
lot more competent than that :-P  And lxplus _is_ a weird, messed-up
development system outside the walled gardens of experiment software.

You can get a long way with the tarball bootstrap script as a template,
but you will need to install your own copies of the GNU autotools (m4,
autoconf, automake, libtool) and Cython since the tarballs contain code
generated by those packages. I had bad experiences with trying to use
the LCG autotools installation: the way they've installed it means that
it's badly broken.

I don't have a ready-to-go Rivet bootstrapping script for lxplus because
these days when I do the lxplus6 check builds before release I make a
testing tarball rather than try to get it to work from a fresh checkout.
But you might find the "Cython" and "dev" bits of this LHAPDF6 build
script useful for copying into one of the tarball bootstrap scripts:
~abuckley/public/buildlhapdf6.sh . If you get it to work, let me know
and we could add it to the collection.

Cheers,
Andy

-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN


More information about the Rivet mailing list