[Halld-offline] hdpm updated to support version XML files
Nathan Sparks
nsparks at jlab.org
Tue Aug 25 18:08:21 EDT 2015
Hi everyone,
As was suggested at last week's meeting, I have updated hdpm to support version XML files. With this has come a new capability of being able to generate custom templates from version XML files, and makes the "example-templates” way of doing things obsolete. As a result, I have removed them and only a single “master” template remains. The “master” template is basically equivalent to the previous “all” template. It is a suitable template for those building all packages, and contains release-versions that are known to compile on both OS X and Linux. It can take a number of steps to generate a custom template from the “master” template, but it is relatively painless.
important note:
I changed the name of the settings file “vers.txt” to “versions.txt”. This file needs to be manually renamed in any “old" custom templates.
Here is a quick summary of how to use version XML files with hdpm. For details see the section on “Using version XML files” in the README at
https://github.com/JeffersonLab/hdpm <https://github.com/JeffersonLab/hdpm>
To use versions from a version XML file run (default: https://halldweb.jlab.org/dist/version.xml <https://halldweb.jlab.org/dist/version.xml>)
hdpm v-xml [url or path of xml file]
To build with versions from a version XML file use
hdpm build [url or path of xml file]
Example (only works on CUE at JLab):
To generate template for compiling hdds and sim-recon against group installations of dependencies at JLab:
1. hdpm select master
2. hdpm v-xml https://halldweb.jlab.org/dist/version_1.7.xml <https://halldweb.jlab.org/dist/version_1.7.xml>
3. hdpm save jlab
4. To enable hdds and sim-recon, uncomment their lines in “commands.txt”. If desired, change to “latest” versions in “versions.txt”.
5. hdpm save my-v1.7
Please let me know if you have any questions or suggestions.
Best regards,
-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20150825/940a1250/attachment.html>
More information about the Halld-offline
mailing list