[Halld-offline] hdpm 0.6.0
Nathan Sparks
nsparks at jlab.org
Wed Mar 29 12:43:56 EDT 2017
hdpm 0.6.0 is now available.
To update, please follow the “hdpm installation” instructions on the Getting Started page at
https://github.com/JeffersonLab/hdpm/wiki/Usage
The instructions have been updated to account for changes summarized below.
Note: The selfupdate command has been added to make future updates easier.
The documentation now includes usage pages for each hdpm command:
https://github.com/JeffersonLab/hdpm/wiki/hdpm
The same information can be accessed on the command-line with
hdpm help COMMAND
Main changes
1. The GLUEX_TOP env variable is now required (Previously hdpm would fallback to using current working directory as package directory).
IF it is not set, hdpm will print out a message on how to set it and exit.
It is recommended to add GLUEX_TOP to your shell startup script for convenience.
2. When you first use hdpm 0.6.0 it will move hdpm-related-directories (settings, env-setup, .dist, etc.) into $GLUEX_TOP/.hdpm
a. You will need to update any scripts that refer to the old “env-setup” path: the new path is $GLUEX_TOP/.hdpm/env/
b. If you are using prebuilt packages installed through “hdpm install”, you need to run "hdpm install” again to update to the new path.
Note: geant4 and hdgeant4 are now included in the binary distribution.
3. Incremental builds for packages under version control (Git or SVN).
The old behavior of the build command was to print information about the latest build for the selected package and dependencies, and then to exit.
For normal build-command usage, running a clean was required before rebuilding.
By default, hdpm 0.6.0 will do an incremental build using the underlying build system of each package.
To get the old behavior back, use the “-i" info option.
4. The selfupdate command has been added for updating hdpm itself.
5. hdpm now includes “extra packages”, packages that are not built (or fetched) by default.
To show them, use
hdpm show -e
Current extras: cmake, gluex_workshops, hd_utilities
To show the default/master packages, use
hdpm show -m
New “add” and “rm” commands allow for adding and removing packages to/from the current settings.
For example, to add MCwrapper which is part of hd_utilities, do
hdpm add hd_utilities
Use “hdpm show” to verify that it has been added to the current package list.
6. Supports user-defined packages with dependencies.
You can add your own packages to the settings directory in JSON format and hdpm will add them to its working package list.
Please see the release notes for more info:
https://github.com/JeffersonLab/hdpm/releases
-Nathan
More information about the Halld-offline
mailing list