moving this requirement to .spec file. CMake should try building with
any IGC version installed in system. More strict requirement should be
defined at package level.
Change-Id: Ieae656fa0eac4069ee8870a829fe116e66ee5ced
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
- dynamically calculate NEO_DRIVER_VERSION for non-UNIX
- remove fixed NEO_DRIVER_VERSION from main cmake file
Change-Id: Ifab6182b1895086c1399f70112a4c9ad4cc66a0f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
this file will be provided by IGC development package when present. We
should generate it only for other cases
Change-Id: Ic11f8c74e4f0a4575b654d0afdfa7336e1fdc7d6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
New detection flow:
1. check for IGC__IGC_TARGETS and respect if defined -> IGC available
2. on Linux try using pkg-config to find IGC
- package can be part of workspace, in this case we have to tweak
some variables
3. check whether igc folder contains CMakeLists.txt and do
add_subdirectory if yes.
4. IGC not available -> fail
other changes:
- rename compiler.config to match name from IGC devel package
Change-Id: I6c2369f8b83db66327d76c9b08af833736e8a3f9
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
We respect library name passed from IGC cmakes
Change-Id: I030f0b473b51e6522613a19e00d84d0f2b254daa
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
The structure of https://github.com/KhronosGroup/OpenCL-Headers.git has
changed recently and we have to adjust to new layout.
New flow is:
1. try old layout with opencl21 folder in repo, continue compilation
if successful
2. try with new layout
Change-Id: Ia8c3eb76655aeef70512e9a03d74c72ba776fd4f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
- add defines to command line
- remove most occurences of include "config.h"
Change-Id: I19d65d83c895fc6143d319d057a50e5ae3e78830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
- interface to debugger dynamic library
- code is included when source level debugger header exists,
otherwise implementation is exluded from build
- unit tests do not load real dynamic library,
instead test version (DebbugerLibrary) of OsLibrary is used.
Change-Id: Id3229c77963352e8001043ee41b7d48c6b180a59
Intel Graphics Compiler is preparing change to unify compiler naming.
They will expose two variables which we should use when loading compiler
libraries.
Change-Id: If6edcb7541452b3cd429a8b4f7c26f6d43169035
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Intel Graphics Compiler is preparing change to unify compiler naming.
They will expose two variables which we should use when loading compiler
libraries.
Change-Id: I49ea2ce9f4bb705ccd3fb8d2b19c61c0622e6c09
igdrcl_tests: define gen specific sources in subdirectories
libult: append gen specific sources needed to link hw tests
Change-Id: I72505729f1ff27439cd43904688de9c2cfbe080f
search order is:
1. check if variable INSTRUMENTATION_LIB_NAME is set. if yes it will
provide lib name and target have to be present
2. check if source location was given. use it if yes
3. check if folder in workspace exists
When library is found then dependency is added to ensure build order
When none of above found support in Neo will be disabled (stub is used)
Change-Id: I9151f4002997ab5cfd1a397794f11cc18dfe44fa
Add macro to add all subdirectories
Add macro to create project source tree based on target sources
Small cleanup runtime/CMakeLists.txt
Change-Id: I9b99145c544f648c4c3fe7421752d0c5d9504edf
some of our dependencies require WDK to work. by setting WDK_DIR and
WDK_VERSION variables we advertise this to them
Change-Id: I2a46d9e30ca3ca60acd2bc76f75c4dac34a143f8
search order is:
1. check variable IGC__IGC_TARGETS. if set it provides a list of targets
required to get compiler stack
2. check for variable IGC_DIR. if set include such folder
3. check if gmmlib folder exists in workspace. if yes, then include this
folder
When including folder (2 & 3), it is expected that IGC__IGC_TARGETS
variable will be exposed
Change-Id: I853606971a6b8d094ae13f7681857fe7717b9cd3
search order is:
1. check variable GMMUMD_LIB_NAME. if set target of this name should
exist
2. check for variable GMM_SOURCE_DIR. if set include such folder and
check GMMUMD_LIB_NAME for library name assumig 'gmm_umd' as default
3. check if gmmlib folder exists in workspace. if yes, then include it
and check GMMUMD_LIB_NAME for library name assuming 'gmm_umd' as default
Change-Id: I9f5f69ab97c0bb8f2c250ac91b69c3ccd048fdda
Simple set() is not enough because this variable is created with empty
value after cmake starts. We have to force setting value and store in
cache.
Change-Id: I0d018ebe3a9a0a65f6fae5313853857913d84bf7
some set() statements were constructed incorrectly. we shouldn't
dereference variable when setting its value
Change-Id: Idc9d60fa87a4364f2b2583d21d53cc0b6f5560d9
This commit adds support for Debug Assistance Functionality (DAF)
aka "Driver Aubcapture" to debug builds on Windows.
Change-Id: I7e859d32af17a6fcee23868392df6cd1390e4afd
IGDRCL__INSTRUMENTATION_DIR_SUFFIX depends on component availability. if
available we should use BRANCH_DIR_PREFIX otherwise it should be "/"
Change-Id: I8bdd80041afeda85d93e72b23b1f940fb04754fc