Skip to content
Snippets Groups Projects
Forked from atlas / athena
134048 commits behind the upstream repository.
Emmanuel Le Guirriec's avatar
Emmanuel Le Guirriec authored
Former-commit-id: 96ccd82d
aa85c6f7
History

ATLAS WorkDir Project

This project can be used to build just a few packages from the repository against an installed ATLAS release/nightly. That means any base project, offline, trigger, simulation or analysis.

The project can be used in two ways.

Using a fully checked out repository

If you have the entire athena repository checked out, you need to tell the CMake configuration which packages you actually want to build. Otherwise it will go ahead and attempt to build everything. Even packages not part of the selected base release itself.

You should make a copy of the package_filters_example.txt file found in this directory, and modify it to select the packages you're interested in, for compilation. There is some documentation in the file explaining its format.

Then, configure the build of the project like:

asetup ...
mkdir build
cd build/
cmake -DATLAS_PACKAGE_FILTER_FILE=/your/specific/package_filters.txt \
   ../athena/Projects/WorkDir/

Using a partially checked out repository

If you only checked out the packages that you want to compile, along with this Projects/WorkDir directory, then you don't need to worry about setting up a package filtering file. You can simply just do:

asetup ...
mkdir build
cd build/
cmake ../athena/Projects/WorkDir/

This will set up the build of all checked out packages.

Using the local build

After being done with the build, you have to remember to source the setup.sh file of the build area to pick up your modifications! So, you would do something like this to set up your runtime environment from scratch:

asetup ...
source build/x86_64-slc6-gcc49-opt/setup.sh