Filip Hazubski
e614578b93
Add support for precompiled header for gcc and clang
...
Resolves: NEO-2644
Change-Id: I1fff804c11b3e34fe293b36083f9d73494a0dfc8
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-04-16 11:18:57 +02:00
Artur Harasimiuk
8219cfa000
Allow adding resource file to specify details of dll file
...
Change-Id: I1b10b410f800b8cb3a0b914fb278dfce794ef3c4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-04-16 09:11:36 +02:00
Jacek Danecki
22be2f677d
add RTLD_DEEPBIND flag for dlopen
...
- flag is disabled when any sanitizer is enabled
Related-To: NEO-2728
Change-Id: I6eb507b61876c8931095afc9760dd5760183e65a
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-11 13:08:46 +02:00
Mateusz Jablonski
d574d2be5a
Disable generating manifest for VS
...
Related-To: NEO-3040
Change-Id: I7fc8782c416eb70b84593f77cf444393b06e2984
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-05 16:18:58 +02:00
Zdunowski, Piotr
74a02adabe
Spectre mitigation.
...
Change-Id: I70aec73e7c3f6e7bfbc4042142ce8a5ec33e51b6
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-03-27 15:58:38 +01:00
Piotr Fusik
d4a0c4852b
Move EngineType to aub_stream.
...
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Piotr Fusik
22c3c10679
Fix typos.
...
Change-Id: Ib0f12d3391c03a2deed9ce57bdaba03034fb6238
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-21 11:01:26 +01:00
Mateusz Hoppe
16e1a05375
Test for DrmMemoryManager allocateGraphicsMemoryInDevicePool
...
Change-Id: If04321fc1045d01c0001e27eed8b2a128b830f25
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-14 19:25:15 +01:00
Artur Harasimiuk
04c2064382
do not copy compiler libraries during build
...
Instead of doing copy we can use LD_LIBRARY_PATH and use files from
original location
Change-Id: I3e936370da6a29fbeb00bdb4b324c13572e5ba47
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-03-11 11:58:11 +01:00
Hoppe, Mateusz
467dc6d06c
Disable APPVERIFIER by default
...
Change-Id: Ia77fb22676d5231a7b4350857b60e8370ac3cd69
2019-02-20 22:38:39 +01:00
Artur Harasimiuk
86b4892388
don't use sanitizer when building ocloc
...
Change-Id: I910802b95e338414300f1b307444331801f3c87a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-02-20 09:28:54 +01:00
Jablonski, Mateusz
05d02a6fe7
Change DevicesBitfield type to struct
...
Change-Id: I7a005b07737cdd21efc174a2ee2be0f6b7f9068d
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-18 13:57:50 +01:00
Piotr Fusik
9af011809f
Make HeapIndex and GraphicsAllocation::origin not specific to Windows.
...
Change-Id: Ie5a26b45c0b5eff0daf047361d8c992bd3c65ba7
2019-02-18 08:47:49 +01:00
Brandon Fliflet
46225890a9
Re-enable AubStream if AUB_STREAM_DIR set.
...
Change-Id: I5fee87281a434ae77e0df98aad31b462d0c5b6eb
Signed-off-by: Brandon Fliflet <brandon.fliflet@intel.com>
2019-02-14 14:11:33 +01:00
Koska, Andrzej
e8771e8c2a
Preparing the correct signature of WaitForSynchronizationObject
...
Change-Id: I3689791ab0335009d79a3484379945f8741ba32b
2019-02-08 14:38:31 +01:00
Hoppe, Mateusz
cb37f2a779
Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC.
...
- treat unused local variables warnings as error in Debug
Change-Id: I2da08b72e0f0083d3cdf932fbf92ef4981a88615
2019-02-08 12:06:04 +01:00
Dunajski, Bartosz
bc62b385a0
Allow to disable AubStream
...
Change-Id: I442e0f14d65099d245b54ec29cb3c7c7098f6cef
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-07 12:23:12 +01:00
Brandon Fliflet
15d6b24ede
Fix for including CMake in another project
...
Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026
2019-01-25 06:21:26 -08:00
Dunajski, Bartosz
287c9e8f6a
Enable FASTLINK for MSVC debug builds on demand
...
Change-Id: I9aecaacf48fdcc486d5bb3c29b9ceb53c4fea261
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-25 10:45:59 +01:00
Milczarek, Slawomir
21f855b719
AubStream update (1/n)
...
Change-Id: I6579e7af2015493490c5edcc413dcb2e6c804b9f
2019-01-22 12:19:21 +01:00
Artur Harasimiuk
2304f0eb80
cmake: Fix handing of multi-configuration generator
...
Change-Id: I7f8747bf07c224f464728812052889f8124fddc4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-01-21 16:40:00 +01:00
Artur Harasimiuk
4284217dea
on Linux detect gmmlib using pkg-config only
...
Change-Id: If2c4350ff9e92ec5dd6b9588a00906aecae62575
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-29 09:24:52 +01:00
Milczarek, Slawomir
3b8ff44d55
AUB CSR with a separate function to write memory
...
Move common code related to writing memory to dedicated function
Change-Id: I4ac8ec779cb40146bd27b8e40728d81d3b5b4276
2018-11-26 20:21:19 -08:00
Kowalczuk, Jakub
344e92acfa
Add source level debugger header from SDK
...
Change-Id: I9898ec8892798facb71ccae0547c894b6b5a0288
2018-11-23 12:22:08 +01:00
Cetnerowski, Adam
d46969a7f2
Rename offline compiler: cloc -> ocloc
...
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Artur Harasimiuk
8d4808045b
don't check for vaGetLibFunc function when libva not found
...
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>
2018-11-21 09:15:54 +01:00
Artur Harasimiuk
ebfba1dc4a
add libva to manifest
...
Change-Id: I13f93a57754662a5f2d94a55fe23af0082b42de6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-20 19:49:53 +01:00
Milczarek, Slawomir
48562c1d79
Add the BRANCH_TYPE definition to cmake
...
Change-Id: I8091f0e31eae88eb3ebf8152dd5114baed9d1c8e
2018-11-16 19:33:02 -08:00
Artur Harasimiuk
29603eceda
cmake: properly set flags for release-internal
...
Change-Id: Ic080c67acacb48005238d5db44dc76736a85fca8
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-15 18:46:01 +01:00
Filip Hazubski
622f71a1b2
Move MemoryProperties struct to separate file
...
Change-Id: Ie35d2638b6fe5cafe64f3b9fc3e0c3b67ac08fd7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-11-15 08:09:16 +01:00
Hoppe, Mateusz
0942edd6af
Update aub_stream headers
...
- 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
2018-11-13 18:09:30 +01:00
Hoppe, Mateusz
e6b93941ee
Add aub_stream headers
...
Change-Id: I4d9420210e2a06d8a36abc0cf272901514ff3547
2018-11-02 14:29:45 +01:00
Artur Harasimiuk
8506946b8d
cmake: do not copy GmmLib files on Linux
...
Change-Id: I7275756dc9c7b259a993294544f6ff3c06dbd66e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-30 08:53:17 +01:00
Artur Harasimiuk
a8163f46b2
remove unused entries from lib_names.h
...
Change-Id: I97d891b04f16b9d351aa1004d54a07ad8f4ee8ac
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-16 16:12:15 +02:00
Martin Whitaker
7ade7a9fe3
Fix cmake configuration when searching for modules
...
- 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
2018-10-09 15:44:38 +02:00
ocldev
70b5251248
gmmlib revision update
...
Change-Id: I2c6fd28db30def68a3adbff6ac96f01dd09ad26e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-09 08:53:45 +02:00
Artur Harasimiuk
599f6e28ef
reuse gmmlib dynamic library when target is present and already built
...
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>
2018-10-04 00:15:41 +02:00
Mateusz Jablonski
caa477115f
Remove support for static gmmlib
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
https://github.com/intel/compute-runtime/pull/91
Change-Id: I90184d7aabf3dd0d8a74ff40115213241b4ca724
2018-10-02 18:21:51 +02:00
Filip Hazubski
b16bd14f37
Change virtual class HardwareInterface to static
...
Change-Id: I4f1f59ecb51b95041dc6dcc6c606b94595813f53
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-01 15:11:43 +02:00
Zdunowski, Piotr
b774e9c62b
Fix check for SEH.
...
Change-Id: I940071029be5d15a51707dee748760f3181deeef
2018-09-26 12:28:26 +02:00
Mrozek, Michal
f564792895
Create common class for TBX & AUB.
...
- Move one method there.
Change-Id: I96cc0a64e24e4931a8d71a552f5cbf22bf99bfc2
2018-09-26 01:24:59 +02:00
Mateusz Jablonski
83f733fb70
Use dynamic gmmlib on Linux
...
Change-Id: Ia7d30fecf0406a14babe83d29743562de8bf7a29
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-21 17:34:31 +02:00
Artur Harasimiuk
803a946e3f
cmake: add lint target
...
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>
2018-09-19 16:14:31 +02:00
Artur Harasimiuk
8334d424ba
add script to set copyright header for source files
...
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>
2018-09-18 19:12:13 +02:00
Katarzyna Cencelewska
962b6ce883
Add support for cl-gl sharing
...
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +02:00
Filip Hazubski
ce8284bade
Move dispatchWalker() to seperate class
...
Change-Id: Idc95df3d67775022f2197c1f973182acb3558a2d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-09-13 10:29:13 +02:00
mplewka
b2b5925030
Always expect gtpin headers
...
Change-Id: I811d672584c2b3b6e519a9404321b5ef9a8d3da2
2018-08-31 09:42:44 +02:00
Artur Harasimiuk
9eafa72776
fix pkgconfig handling in cmake
...
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>
2018-08-29 16:59:14 +02:00
Artur Harasimiuk
b88f60d14e
don't build igdrcl_lib_mockable when SKIP_UNIT_TESTS is set
...
Change-Id: I7494ca082944040a630d7c3f9044b44c4bf0f47c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-28 20:06:59 +02:00
Maciej Plewka
a9da118e11
Support gtpin when gtpin headers dir exists
...
Change-Id: Ib61ba3280d4780d13bef511ff10ba6c7e3ac6c9e
2018-08-17 01:48:37 -07:00
mplewka
956ee41c71
Fix including gtpin headers
...
Change-Id: I6b39bee0398a74671b91a6109c7c390273decf54
2018-08-16 15:14:59 +02:00
mplewka
5e9066170d
Change include location of gtpin headers
...
Change-Id: Idd1e85b1946bad3af950cb9041d25ff5bc1aaf03
2018-08-16 12:06:22 +02:00
Mateusz Jablonski
815bd9e027
Cmake: Remove Windows requirement when copying gmm dynamic lib
...
Change-Id: Ieba2f37fbb5aeca855a5ca3790efdaafe544b982
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-14 12:51:07 +02:00
Kowalczuk, Jakub
571babf1d5
Add new macro _RELEASE_BUILD_WITH_REGKEYS
...
Change-Id: I679a17e99d7928b3caf10f80a581fb386aaf7751
2018-08-10 11:17:22 +02:00
Stefanowski, Adam
16b7cd1a75
Move debug variables to new location
...
Change-Id: I2311f9b3f7bbe1a319c25ae3a99e5c41452faf90
2018-07-30 11:22:02 +02:00
Kamil Diedrich
142e52224d
Upgrade c++ version with 14
...
Change-Id: Idbb80f1208a06dfbf91f6214929719833a622004
2018-07-23 13:53:54 +02:00
Mateusz Jablonski
49d5ebef0d
Simplify definition of I915 include path
...
Change-Id: Ic682452b399b6fd50e10af07b83eaa6730407214
2018-07-19 11:15:01 +02:00
Mateusz Jablonski
36db75da28
Create gmm client context wrapper, reduce mock_gmm
...
Change-Id: I4eec4366afeb175fea4bf7934e3046b50fe30fe9
2018-07-17 11:46:04 +02:00
Maciej Dziuban
2589286d42
Change gmm_memory.h location
...
Change-Id: Ie4ebde5829794c37281034971639d166b128d755
2018-07-10 15:59:58 +02:00
Artur Harasimiuk
e8424f242b
don't enforce igc version from CMakeLists.txt
...
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>
2018-07-07 10:16:54 +02:00
ocldev
d83ff8f245
igc revision update
...
Change-Id: I9505f44274ffcc8b916fc5580bf76c8aa280d968
2018-07-04 16:09:21 +02:00
Artur Harasimiuk
cb44a28f8e
version.cmake improvements
...
- 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>
2018-07-04 13:06:59 +02:00
Artur Harasimiuk
0a91c1e3a9
automatically detect driver major and minor version
...
Change-Id: Ibdf187ca336855ceca960dab1486cc668654495f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-07-03 11:49:30 +02:00
Artur Harasimiuk
561cdb7df5
allow gmmlib to be detected using pkg-config
...
Change-Id: I9f706f100c9902b71a6bfa6465e17a68d26be49e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-28 13:55:36 +02:00
Mateusz Jablonski
97e5632eba
Define Wddm version number
...
Change-Id: I177a689b1e282a8e185afac2865f369fede52b3e
2018-06-22 10:59:05 +02:00
Artur Harasimiuk
3d43fe6c97
set required version of igc-opencl package
...
Change-Id: I7b2194bd7c396082a70c4eeff4d78ee74b752258
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-22 10:50:54 +02:00
Artur Harasimiuk
fee08985dc
properly handle includes when IGC__IGC_TARGETS is defined
...
Change-Id: I518a33ae97950467965126e55bc93e644e439934
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-22 09:19:29 +02:00
Mateusz Jablonski
b659d270ae
Revert "Create wrapper for GmmClientContext"
...
This reverts commit 50c31872d8
.
Change-Id: Id154ca2d217e5e45623750f641ebad5dc5e840a2
2018-06-21 16:14:45 +02:00
Artur Harasimiuk
6540a9c96b
do not generate igc.config.h when igc-opencl package was found
...
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>
2018-06-21 12:27:51 +02:00
Mateusz Jablonski
50c31872d8
Create wrapper for GmmClientContext
...
reduce mock gmm to implementation of OpenGmm function
Change-Id: I657412af2d11486c9924cf3ab9a8b4f51e603964
2018-06-21 10:17:46 +02:00
Artur Harasimiuk
bc2403acfd
allow IGC to be discovered by pkg-config
...
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>
2018-06-20 13:13:58 +02:00
Artur Harasimiuk
a203b0c32e
add opencl headers to third party
...
Change-Id: I8a1a7c3b371ca3aa118d3e4a7e989b0f6c08f374
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-19 13:33:22 +02:00
Mateusz Jablonski
cc9e5a7943
Restore using compiler.config.h
...
define source level debugger dll name when it has empty implementation
Change-Id: I2a0938c8418da161f214735644f00f7873540f75
2018-06-12 17:02:51 +02:00
Mateusz Jablonski
5007c60a03
Generate dll names to lib_names.h
...
Remove some not needed ifdef blocks
Change-Id: I29f787bde819a2f19312dd5713df0d4534a47cd8
2018-06-11 18:00:56 +02:00
Mateusz Jablonski
98b8b4b6a4
Prepare to use gmm as dll on Windows
...
Since this commit neo on Windows can use static or shared gmm lib
Change-Id: I7db70d7f9bc969e8193ac77e8b6d65ecc57d0093
2018-06-08 17:35:01 +02:00
Artur Harasimiuk
1e045e3e76
don't force IGC shared library name when building full-source
...
We respect library name passed from IGC cmakes
Change-Id: I030f0b473b51e6522613a19e00d84d0f2b254daa
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-30 15:45:27 +02:00
Artur Harasimiuk
6abcc4a2a9
allow to build Neo with most recent version of Khronos headers
...
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>
2018-05-17 11:21:32 +02:00
Artur Harasimiuk
10e5b71111
dependencies cleanup
...
move gmock/gtest to third party
Change-Id: I96b43a3de2b6f2151659a9b2eed27eb58db5ce48
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-11 15:04:45 +02:00
Dunajski, Bartosz
7ddc571a11
Add build directory path for configured driver_version header
...
Change-Id: Ic092c2156b158377dc00c5c754827515ee2d290b
2018-04-27 10:17:05 +02:00
Dunajski, Bartosz
d71b46bdae
Use configure_file for NEO_DRIVER_VERSION instead of source file property
...
Change-Id: I76888a7eb2a2c6e228306b5c740c55c6abff93da
2018-04-27 10:13:28 +02:00
Dunajski, Bartosz
82c9acddde
Improve including common reg_configs header
...
Change-Id: I7fa22c2caffd0004269eb0d4f4fcdfd7621572af
2018-04-26 14:48:50 +02:00
Artur Harasimiuk
5fbdad88c6
refactor config.h usage
...
- add defines to command line
- remove most occurences of include "config.h"
Change-Id: I19d65d83c895fc6143d319d057a50e5ae3e78830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-26 10:02:15 +02:00
Hoppe, Mateusz
efda64eb4a
Source Level Debugger - debugger library interface
...
- 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
2018-04-23 11:31:37 +02:00
Artur Harasimiuk
12843c5eba
use externally provided names of compiler shared libraries
...
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>
2018-04-17 12:07:58 +02:00
Jacek Danecki
1504d89571
switch to libva 2.x
...
- support for libva 1.x has been dropped
Change-Id: Ie5361b98cdd36144c9cd2a413c5fc2871655f333
2018-04-13 11:16:33 +02:00
Jacek Danecki
a8597ac162
remove dependency on librt
...
- clock_gettime is provided by glibc
Change-Id: Ic76c272d31581538ef4c2ad7adc22f836437c642
2018-03-29 23:51:00 +02:00
Artur Harasimiuk
9f5f0f64cb
Revert "use externally provided names of compiler shared libraries"
...
This reverts commit 73e6846cda
.
Change-Id: I2b39bb5b3186f14f1077c06adca8db242abf1e6b
2018-03-28 13:10:06 +02:00
Artur Harasimiuk
73e6846cda
use externally provided names of compiler shared libraries
...
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
2018-03-28 10:35:53 +02:00
Artur Harasimiuk
b93a208886
build system improvements
...
Change-Id: I7f43535f01638f9aef1b7b80a01d10b74cc8e0fd
2018-03-22 17:35:32 +01:00
Filipkowski, Lukasz
9ce3a10248
Set custom build types for multi-configuration generators
...
Change-Id: Iae3fd3422a3b128a29ca11dab30c87dd546e05ab
2018-03-22 11:53:04 +01:00
Filipkowski, Lukasz
c4c75e542e
Set CMAKE_CONFIGURATION_TYPES only for MSBuild
...
Change-Id: I03edd2aef10d8aa6479f9209c67464658732c34a
2018-03-21 15:48:31 +01:00
Artur Harasimiuk
507544a999
add i915 uapi headers
...
Change-Id: I8b19ebc56c5aa394758177641b2946f7fca13eff
2018-03-16 17:30:48 +01:00
Mateusz Jablonski
e21e220540
Cmake refactor part 16
...
igdrcl_tests: define gen specific sources in subdirectories
libult: append gen specific sources needed to link hw tests
Change-Id: I72505729f1ff27439cd43904688de9c2cfbe080f
2018-03-16 14:07:37 +01:00
Artur Harasimiuk
dede44f0dd
cmake refactor to allow sub components to use the same settings
...
Change-Id: I7e8a1e51d27406e0a8f1eeb227374c2f938f028b
2018-03-15 09:30:58 +01:00
Artur Harasimiuk
6674e93b69
further cleanup on ARTIFACTS_DIR
...
Change-Id: Iec2a5fed2e1626300425c09574a388806d4746e1
2018-03-09 08:37:11 +01:00
Mateusz Jablonski
8c8b47026d
Cmake refactor part 13
...
Cleanup offline_compiler/CMakeLists.txt
Cleanup unit_tests/offline_compiler/CMakeLists.txt
Change-Id: I1f4a2384ca64abd068b30a33ec643fa294ebaae3
2018-03-08 21:39:34 +01:00
Artur Harasimiuk
50e17af9aa
cmake: remove support for building icd as a part of our workspace
...
ICD is external component and is expected to be installed in OS. No need
to build it
Change-Id: Ibd9fda204e296d46a25133a7a512a786c3643809
2018-03-08 17:40:38 +01:00
Artur Harasimiuk
a93154db1b
remove ARTIFACTS_DIR support
...
not used anymore
Change-Id: I05adf3d0ac60ac425758df1480709d2e85076669
2018-03-05 21:49:00 +01:00
Artur Harasimiuk
e6a956d7c9
update method to find Instrumentation library
...
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
2018-03-02 08:12:02 +01:00
Mateusz Jablonski
d1aa5f978d
Cmake refactor part 6
...
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
2018-03-02 00:39:41 +01:00