-
Notifications
You must be signed in to change notification settings - Fork 2
Package Settings
Nathan A. Sparks edited this page Mar 29, 2017
·
8 revisions
The GLUEX_TOP environment variable is used to set the top-level package directory.
Each package can be configured with a JSON file, located in the $GLUEX_TOP/.hdpm/settings directory.
To remove a non-core package, delete its settings file or use the hdpm rm command.
Package fields:
-
name : string
- Name of the package.
- important: Changing the name will have no effect.
-
version : string
- Version, SVN revision, or Git tag/branch of the package. Use this setting to control which version of the package is fetched/built. For SVN and Git-repository packages, set the version to master to use the most recent revision of the trunk for SVN, or the latest commit on the master branch for Git.
-
url : string
- URL of the package. If the URL contains the version number of a package, it can be replaced with [VER].
-
path : string
- Filesystem path of the package. If a relative path is given, it will be joined with the $GLUEX_TOP directory before being used. If the path contains the version number and/or BMS_OSNAME, they can be replaced by [VER] and/or [OS], respectively.
-
cmds : array of strings
- List of build/configure commands to run for the package, including configuration options and number of threads to use in the build. All of the essential SCons and Make-based builds are supported at this time; However, for cernlib just the 2005 version of the Vogt-64-bit build is supported, and cannot be customized. Setting its commands will have no effect.
-
deps : array of strings
- List of dependencies to install first.
-
isPrebuilt : boolean
- Set to true if the package is prebuilt or to disable its build.