Commit fab725d5 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'script_lxplus' into 'master'

script to setup environment for lxplus

See merge request corryvreckan/corryvreckan!74
parents 54cd5841 2337c113
Pipeline #631265 passed with stages
in 10 minutes and 8 seconds
# Scripts
Short script to prepare the source code and CMake files for a new allpix<sup>2</sup> module.
The tool will ask for all necessary information, such as the module name ("Module" will be appended automatically) and the type (global, detector,dut).
Both unique and detector-specific modules are supported.
A file is automatically created, containing the author and contact information of the creator. The information is retrieved using the `git config` and `git config` commands if available, or `whoami` and `hostname` as fallback.
Please make sure, the information is correct.
Example Output:
$ ./etc/
Preparing code basis for a new module:
Name of the module? MyNewModule
Type of the module?
1) global
2) detector
3) dut
#? 1
Creating directory and files...
Name: MyNewModule
Author: John Doe (
Path: /path/to/corryvreckan/src/modules/MyNewModule
Re-run CMake in order to build your new module.
Script to facilitate the compilation of Corryvreckan on the CERN LXPLUS Linux cluster. Sourcing the script via
source etc/
will setup all required build dependencies.
if [ ! -d "/cvmfs/" ]; then
echo "CVMFS not available"
# Get our directory and load the CI init
ABSOLUTE_PATH=`dirname $(readlink -f ${BASH_SOURCE[0]})`
# Load default configuration
source $ABSOLUTE_PATH/../.gitlab-ci.d/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment