Skip to content

Yet another package to build up a set of external programs (like ROOT) for the E1039 software framework.

Notifications You must be signed in to change notification settings

Hugo-Leung/e1039-share

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

e1039-share

Yet another package to build up a set of external programs (like ROOT) for the E1039 software framework.

Typical Usage

  1. cd /usr/local/src
  2. git clone https://github.com/E1039-Collaboration/e1039-share.git
    • If you have GitHub account, you better use SSH; git clone [email protected]:E1039-Collaboration/e1039-share.git.
  3. cd e1039-share/script
  4. source setup-install.sh /data2/e1039/share
  5. ./install-all.sh

Remarks:

  • "/usr/local/src" is a build directory. Any other directory is fine. You better use a local (not network) directory for faster compilations.
  • "/data2/e1039/share" is an install directory. Any other directory is fine.
  • You have to execute the 4th command (source ...) again when opening a new shell environment (i.e. text terminal). It does not break any files already installed (but sets the environmental variables needed during the installation).
  • When a system-wide (i.e. rpm) package is missing, "install-all.sh" auto-detects it and asks you to install it. Then you should execute "install-all.sh" again.

Details about Software Installation

Each software package in e1039-share is installed via a corresponding subscript in "script/sub/". The contents of subscripts are rather simple. You could modify them when encountering error. You might have to manually clean up the build directory of a package when building it again.

You can execute one subscript alone when necessary.

./sub/90_genfit.sh

Rule of Subscirpts

  • Assure "$DIR_BUILD" is set and use it as the build directory.
  • Assure "$DIR_INST" is set and use it as the install directory.
  • Return non-zero value on error.
  • Return without action when the package is judged to be already installed.
  • Be kept as simple as possible so that everyone can maintain.

About

Yet another package to build up a set of external programs (like ROOT) for the E1039 software framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%