Merge branch 'proteus' into 'master'

New Proteus module

See merge request Pmodules/buildblocks!327
This commit is contained in:
2022-06-14 11:35:42 +00:00
3 changed files with 36 additions and 0 deletions

21
Compiler/proteus/build Executable file
View File

@@ -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
}

View File

@@ -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 <marc.caubet@psi.ch>"
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.
"

View File

@@ -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