Project

General

Profile

How to build, install, and deploy art on oink

See Build, install and deploy CET UPS products on oink for general instructions.

Since we might build the same release of art with different qualifiers, additional steps may be required.

We assume that your copy of art is in <source-directory> and is in the state that you desire. (tagged release, head, etc.)

To build art with the default qualifier:
  1. mkdir <build-directory>
  2. cd <build-directory>
  3. source <source-directory>/ups/setup_for_development
  4. cmake -DCMAKE_INSTALL_PREFIX=<install-directory> <source-directory>
  5. make [-jN], where -jN will build using N parallel makes
  6. make [ARGS=-jN] test
  7. optionally, make install
  8. make package
  • this will create a tarball named art-<version>-<os>-<plat>-<compiler>-<qualifier>.tar.gz
To build art with the nova qualifier:
  1. mkdir <build-directory>
  2. cd <build-directory>
  3. source <source-directory>/ups/setup_for_development
  4. IMPORTANT: The next two steps ensure that you are building for nova.
    After sourcing setup_for_development, you must setup any products that are different.
    You must also tell cmake that you are using a different qualifier.
  5. setup root $ROOT_VERSION -q nova
  6. cmake -DCMAKE_INSTALL_PREFIX=<install-directory> -Dqualifier:STRING=nova <source-directory>
  7. make [-jN], where -jN will build using N parallel makes
  8. make [ARGS=-jN] test
  9. optionally, make install
  10. make package
  • this will create a tarball named art-<version>-<os>-<plat>-<compiler>-<qualifier>.tar.gz
  • notice that the only difference in the tarball name will be the qualifier at the end