New Proteus module
Proteus v1.4.0 as the first version in PModules Directly dependency with ROOT software. Required also Eigen (Pmodule) when compiling, Doxygen (PModule) and Sphinx (python-sphinx as local package) for building the documentation.
This commit is contained in:
21
Compiler/proteus/build
Executable file
21
Compiler/proteus/build
Executable 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
|
||||
}
|
||||
|
||||
14
Compiler/proteus/modulefile
Normal file
14
Compiler/proteus/modulefile
Normal 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.
|
||||
"
|
||||
|
||||
1
Compiler/proteus/variants/variants.rhel7
Normal file
1
Compiler/proteus/variants/variants.rhel7
Normal 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
|
||||
Reference in New Issue
Block a user