Building Qserv with specific dependencies¶
You may want to build Qserv against a specific set of dependencies. Several solutions are available:
Note
Commands below require that you’ve already sourced an eups environment.
Setup dependencies after Qserv setup¶
cd ${SRC_DIR}/qserv
setup -r .
setup foo 1.2.3
setup bar 3.4.5
Use setup –keep option¶
--keep
option will keep any products already setup (regardless of their
versions).
setup foo 1.2.3
setup bar 3.4.5
cd ${SRC_DIR}/qserv
setup --keep -r .
Save the current EUPS environment, and restore it later¶
eups list -s > foo.tag # saves currently setup-ed products
...
cd ${SRC_DIR}/qserv
setup -t foo.tag -r . # sets up the product with dependencies in file foo.tag
See https://dev.lsstcorp.org/trac/wiki/EupsTips#Tags for details.
Keep the dependency version-to-be-used declared as ‘current’¶
To declare a version of an installed product as ‘current’, do:
eups declare -t current <product> <version>
...
cd ${SRC_DIR}/qserv
setup -r .