TWiki> LHCb Web>LHCbComputing>BuildingLHCbRPMs (revision 2)EditAttachPDF

Procedures to create and release Standard LHCb RPMs

Building C++ Project RPMs

ToDo: Explain how to use the lhcb-release slot

Adding RPMs to the LHCb yum repository

The command lb-release-rpm was added for this purpose as from LbScripts v8r0p1 If is the directory containing the new RPMs, it is enough to do:

lb-release-rpm <myreleasedir>

Then check the output (this should only copy new RPMs not already in the repository) If all seems fine, perform the actual copy by doing:

lb-release-rpm <myreleasedir> --copy

This command essentially does:

cp <myreleasedir>/*.rpm $LHCBTAR/rpm/lhcb
createrepo --workers=20 --update $LHCBTAR/rpm/lhcb

Special RPMs (procedures for librarians)

LHCbExternals: Meta RPMs for a version of LCG

First get a version of the LbNightlyTools and configure the environment:

git clone http://git.cern.ch/pub/LbNightlyTools
cd LbNightlyTools
. ./setup.sh

Then produce the spec file for the LHCbExternals version and create the RPM:

lbn-generate-extspec LHCbExternals v68r0p1 -o my.spec
rpmbuild -bb my.spec

(see https://twiki.cern.ch/twiki/bin/view/LHCb/ProjectRelease for the creation of the externals project)

-- BenjaminCouturier - 18 Jun 2014

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2014-06-27 - BenjaminCouturier
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback