diff --git a/Compiler/proteus/build b/Compiler/proteus/build new file mode 100755 index 0000000..dbeb57f --- /dev/null +++ b/Compiler/proteus/build @@ -0,0 +1,21 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "https://gitlab.cern.ch/proteus/proteus/-/archive/v${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}/proteus-v${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}.tar.gz" + +pbuild::add_to_group 'Compiler' +pbuild::install_docfiles 'LICENSE' 'README.md' 'Changelog' + +pbuild::pre_configure_Linux() { + pbuild::use_cmake + pbuild::add_configure_args "-DPROTEUS_ENABLE_DOC=on" + pbuild::add_configure_args "-DEIGEN_INCLUDE_DIR=${EIGEN_INCLUDE_DIR}" +} + +pbuild::compile() { + cmake --build . -- -j6 VERBOSE=1 +} + +pbuild::install() { + cmake --build . --target install +} + diff --git a/Compiler/proteus/modulefile b/Compiler/proteus/modulefile new file mode 100644 index 0000000..211907b --- /dev/null +++ b/Compiler/proteus/modulefile @@ -0,0 +1,14 @@ +#%Module1.0 + +module-whatis "Proteus beam telescope reconstruction" +module-url "https://gitlab.cern.ch/proteus/proteus" +module-license "See $PREFIX/share/doc/proteus/LICENSE" +module-maintainer "Marc Caubet Serrabou " +module-help " +Proteus is a software to reconstruct and analyze data from beam +telescopes. It takes the raw data, groups hits into clusters, finds +tracks from clusters on multiple planes, estimates optimal track +parameters on selected planes, and provides output data for further +analysis. +" + diff --git a/Compiler/proteus/variants/variants.rhel7 b/Compiler/proteus/variants/variants.rhel7 new file mode 100644 index 0000000..4c867e7 --- /dev/null +++ b/Compiler/proteus/variants/variants.rhel7 @@ -0,0 +1 @@ +proteus/1.4.0 unstable gcc/10.3.0 root/6.26.02-1 b:eigen/3.4.0 b:doxygen/1.9.2 b:cmake/3.20.5