[Rivet] PATCH: Don't re-download boost tarball if re-running the bootstrap script

David Bjergaard david.b at phy.duke.edu
Fri May 16 19:52:52 BST 2014


Hi Andy,

If you're interested... there's a "bug" in BOOST 1.55.0 that causes a
bunch of warnings to be printed in gcc 4.8. I know this is upstream, and
it will be fixed in the next BOOST release, but in the meantime the
rivet-buildplugin script is very loud.  

I've got a patch that suppresses all of the warnings:
https://github.com/dbjergaard/rivet-charmonium/blob/master/boost_1_55.patch

I've attached a patch file that may work for the bootstrap, though I
think I may have structured the patch for:
INSTALL_DIR=~/rivet/local
BUILD_DIR=~/rivet

If you want, I can rework it to patch before the headers get installed. 

    Dave
    
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost_1_55_bugfix.patch
Type: text/x-diff
Size: 3200 bytes
Desc: not available
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140516/4536d7c6/attachment.patch>
-------------- next part --------------


Andy Buckley <andy.buckley at cern.ch> writes:

> Thanks David! Actually the bootstraps could do with some general
> protections when re-running... will add.
>
> Andy
>
>
> On 15/05/14 17:20, David Bjergaard wrote:
>> Hi,
>> 
>> Here's a patch to avoid unnecessarily downloading multiple copies of the
>> boost tarball if the rivet-bootstrap script fails for some other reason:
>> 
>> 75c75
>> <     wget http://downloads.sourceforge.net/boost/boost_$BOOST_VERSION.tar.gz
>> ---
>>>     [ ! -f boost_$BOOST_VERSION.tar.gz ] && wget http://downloads.sourceforge.net/boost/boost_$BOOST_VERSION.tar.gz
>> 
>> The bootstrap script has much improved since 1.8! Thanks for all the
>> hard work.
>> 
>> Cheers,
>> 
>>     Dave
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
>> 


More information about the Rivet mailing list