Last active
July 19, 2017 12:01
-
-
Save mazurov/cca73aa460c60b540105b7acf9ad6547 to your computer and use it in GitHub Desktop.
Fork athena and compile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fork main athena repository: https://gitlab.cern.ch/atlas/athena/forks/new | |
git clone https://:@gitlab.cern.ch:8443/[YOUR_USER_NAME]/athena.git | |
cd athena | |
git remote add upstream https://:@gitlab.cern.ch:8443/atlas/athena.git | |
git fetch upstream # Ensure sync with main repository | |
# Use useful name for branch "-b your useful name" | |
git checkout -b 21.0-fix-for-something upstream/21.0 --no-track | |
# Use the latest date in r2017-XX-XX or the day vefore | |
cd .. | |
asetup 21.0,r2017-07-05,Athena | |
cp athena/Projects/WorkDir/package_filters_example.txt pf.txt | |
$EDITOR pf.txt # leave only "+ Trigger/TrigT1/TrigT1CaloMonitoring" or any other packages that you requie | |
mkdir build && cd build | |
# ... | |
# Provide your changes | |
# ... | |
cmake -DATLAS_PACKAGE_FILTER_FILE=../pf.txt ../athena/Projects/WorkDir | |
make -j | |
source x86_64-slc6-gcc62-opt/setup.sh | |
# Run your tests | |
# athena ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment