Build from Source

Requirements for Building from Source

Download the Source Code

Download ITT/JIT API source code or clone the repository.

git clone https://github.com/intel/ittapi.git

Build

To build the ITT/JIT API static library execute:

python buildall.py <options>

The ailable build options:

usage: python buildall.py [-h] [-d] [-c] [-v] [-pt] [-ft] [--force_bits]

optional arguments:
  -h, --help      show this help message and exit
  -d, --debug     specify debug build configuration (release by default)
  -c, --clean     delete any intermediate and output files
  -v, --verbose   enable verbose output from build process
  -pt, --ptmark   enable anomaly detection support
  -ft, --fortran  enable fortran support
  --force_bits    specify bit version for the target
  --vs            specify visual studio version (Windows only)
  --cmake_gen     specify cmake build generator (Windows only)