Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.6 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.6 KB

Gaffer Dependencies

This project contains the source code for all the 3rd party libraries required to build Gaffer. It is intended to help Gaffer developers get up and running as quickly as possible, and secondarily to provide a record of exactly which dependencies were used for each release of Gaffer, and how they were built.

Usage

We provide prebuilt binary releases, which should be used in conjunction with Gaffer's build instructions.

Building

We strongly recommend using the precompiled binaries as described above, but if you really like building multiple huge software projects, read on!

Prerequisites

Since the build covers so many different projects, it requires the installation of several common software development tools, most of which should be installed by default on a typical developer machine. They include (but are probably not limited to) :

  • Make
  • CMake
  • SCons
  • libbz2 (and headers)

See https://github.com/GafferHQ/build for a Docker container which contains all necessary prerequisites.

Invoking the build

To build, run build.py from the root directory of the project :

./build.py --buildDir /path/to/build

Subsets of the dependencies can be built using the --projects command line argument :

./build.py --buildDir /path/to/build --projects TBB

Variants are specified using the --variant:<Project> command line arguments :

./build.py --buildDir /path/to/build --variants:Python 3