also, check whether libva requires adding of extra include directories
to build properly.
Change-Id: I4274a0b80725c1b4305a465db344b12f234ec359
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
- pass hwInfo and localMemoryEnabled to AubCenter ctor
- initialize AubCenter in Platform:intialize() when Device is
created - only when CSR is not CsrHw
- move aub_center files to runtime/aub directory
Change-Id: Iceb4bf1cb2bb55b42d438502cca667a449f11411
- don't falsely detect gmmlib pkgconfig when gmmlib is not found in workspace
- restore original PKG_CONFIG_PATH after overriding it
- it may be needed for subsequent searches, e.g. for finding libva
https://github.com/intel/compute-runtime/pull/98
Change-Id: I17088dd94e366821b977565f4736eb5f3679896b
instead of copying gmmlib shared library into our build build folders we
can use LD_LIBRARY_PATH to use .so file located in original location.
Change-Id: Icf8ae4000032c0032866e940a243a7f5881a4c16
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This wraps around commands used to format code and exposes them as
single build system target: 'lint'.
Change-Id: Ide88b8f080582221b1832be06fd2fd0f2cd44ab4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
this works for:
- C/C++ files
- files where comment is #
Change include set of simple tests.
Change-Id: I1c08c6c359e2a48957d5d81397c439508ae06c42
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
when IGC_DIR is not defined we shouldn't override paths because
/lib/pkgconfig may exists in some distributions.
Change-Id: I843b033ff6b0d91cb866b7ab36fa82a02ca7448e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
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>