[MCJIT] Add cmake variables to customize ittapi git location and revision.
authorAlexey Bader <alexey.bader@intel.com>
Wed, 9 Dec 2020 18:01:06 +0000 (21:01 +0300)
committerAlexey Bader <alexey.bader@intel.com>
Wed, 9 Dec 2020 18:04:24 +0000 (21:04 +0300)
commitbe9b4bbdfc226c6387304552bbc0312ed60bd602
treef6884f715f32b487f65a24f1efe953730b5dd8ac
parent664b187160dc951c2cea3b69f92decf358d8e75a
[MCJIT] Add cmake variables to customize ittapi git location and revision.

To support llorg builds this patch provides the following changes:

1)  Added cmake variable ITTAPI_GIT_REPOSITORY to control the location of ITTAPI repository.
     Default value of ITTAPI_GIT_REPOSITORY is github location: https://github.com/intel/ittapi.git
     Also, the separate cmake variable ITTAPI_GIT_TAG was added for repo tag.
2)  Added cmake variable ITTAPI_SOURCE_DIR to control the place where the repo will be cloned.
     Default value of ITTAPI_SOURCE_DIR is build area: PROJECT_BINARY_DIR

Reviewed By: etyurin, bader

Patch by ekovanov.

Differential Revision: https://reviews.llvm.org/D91935
llvm/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt