Build from Source Code

Technical Requirements

Before you build the ITT/JIT APIs, make sure you have the following hardware and software tools:

Get the ITT/JIT APIs Source Code

To get the source code for the ITT/JIT APIs, do one of the following:

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

Build the ITT/JIT APIs

To build the ITT/JIT APIs static library, run this command:

python buildall.py <options>

Use these options to configure the build process:

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)