This page gives quick recipes to build and test CORAL and COOL using lcgcmake on the nightly build nodes.

Build and test CORAL and COOL using lcgcmake on the nightly build nodes

First of all, you should identify the relevant (Linux or Mac) build node and build directory from the cdash dashboard. You should then:

  • log in the relevant build node as user sftnight using ssh and change directory to the relevant build directory
  • source the setup script in the build directory
  • if needed, clean the existing build products and remove the existing install directory for CORAL/COOL
  • rebuild CORAL/COOL
  • launch the CORAL/COOL tests (if needed, you can list all existing tests using make test ARGS=-N, which simply executes ctest -N)

For instance:

cd /mnt/build/jenkins/workspace/lcg_ext_dev4/BUILDTYPE/Release/COMPILER/gcc49/LABEL/slc6/
cd build/
make clean-CORAL
rm -rf ../install/CORAL/3_1-patches/x86_64-slc6-gcc49-opt
make CORAL
make test 

Note that the procedure above, involving make clean-CORAL and make CORAL, erases and downloads the CORAL tarfile from scratch, hence:

  • if you want to edit files locally, you must use a less invasive CORAL cleanup procedure (just remove selected files in the build/projects/CORAL-3_1-patches/src/CORAL-3_1-patches-stamp directory instead)
  • if you accept a rebuild from scratch but wish to modify source code, you must trigger an "lcg-prepare-builds" build on phsft-jenkins

-- AndreaValassi - 2016-07-19

Edit | Attach | Watch | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2016-07-19 - AndreaValassi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Persistency All webs login

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