cms-gem-daq-project / reg_utils

0 stars 9 forks source link

Develop x86 minimal librwreg #13

Closed mexanick closed 6 years ago

mexanick commented 6 years ago

Minimal rwreg library is added with corresponding packaging toolkit

Description

the reg_interface package will now look for the librwreg.so in $LD_LIBRARY_PATH on the x86 architecture. For the arm packaging is not ready yet and the library will be loaded using the abs path through $GEM_PATH var. rwreg package will be installed under by default under /opt/ and requires export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rwreg/lib after the installation. It also depends on wiscrpcsvc which is available here: https://github.com/mexanick/wiscrpcsvc/releases/tag/1.0.0 wiscrpcsvc will be also installed by default under /opt/ and requires export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/wiscrpcsvc/lib

Types of changes

Motivation and Context

Required to provide smooth installation routine

How Has This Been Tested?

Tested on docker during sphinx documentation assembly: sphinx-autodoc imports all relevant python modules which in turn load the rwreglibrary. The library itself was not tested, however it reuses well tested code so no problems is expected with it.

Screenshots (if appropriate):

Checklist: