Commit Graph

27 Commits

Author SHA1 Message Date
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
Mateusz Jablonski
f407cdeada Add cmake flag to force using response file in ninja
Change-Id: I13179ba6df2f5d8351e878c7a6ef59100deafffe
2018-03-01 11:53:22 +01:00
Artur Harasimiuk
3706e6285d detect WDK prior to subcomponent inclusion
some of our dependencies require WDK to work. by setting WDK_DIR and
WDK_VERSION variables we advertise this to them

Change-Id: I2a46d9e30ca3ca60acd2bc76f75c4dac34a143f8
2018-02-28 22:41:37 +01:00
Artur Harasimiuk
4636367d55 update method to find Intel Graphics Compiler
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
2018-02-26 13:59:19 +01:00
Artur Harasimiuk
be0150a563 WUD is default for Neo@Windows
There is no need to have this macro and execute it twice

Change-Id: I3756913d2dbba100bb173771d085c609e4509e69
2018-02-26 09:06:48 +01:00
Artur Harasimiuk
2e5e1ac0fb update method to find GmmLib
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
2018-02-26 09:05:52 +01:00
Zdunowski, Piotr
e3268f8a9c Revert "Allow custom props settings."
This reverts commit f43a04d3b2.

Change-Id: Ib4cd854c19fe96b0ea9d5e3782d1247c265927c9
2018-02-23 16:01:31 +01:00
Zdunowski, Piotr
f43a04d3b2 Allow custom props settings.
Change-Id: Idd442f429e8f413cde67781995e0c1b1c010bcee
2018-02-21 12:16:35 +01:00
Artur Harasimiuk
56b34ee49f properly set default value of CMAKE_BUILD_TYPE
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
2018-02-14 08:15:33 +01:00
Artur Harasimiuk
333af8349e fix instrumentation handling in cmake
some set() statements were constructed incorrectly. we shouldn't
dereference variable when setting its value

Change-Id: Idc9d60fa87a4364f2b2583d21d53cc0b6f5560d9
2018-02-12 17:30:49 +01:00
Artur Harasimiuk
cece633e93 cmake: refactor WDK_DIR detection
- Win15 sub folder is optional
- added cmake variable to define WDK Version to use

Change-Id: I9618eaa72e160834544b304c47ea6d17766d6966
2018-02-08 11:38:11 +01:00
Mateusz Jablonski
0178b9862f Cmake refactor part 3:
Move defining genX sources logic to separated cmake file
Fix defining hw src include path

Change-Id: Id89125ab6f461fbcf5162157f76e0fbe0544fa69
2018-02-08 09:23:37 +01:00
Artur Harasimiuk
043ad0eeba fix PDB generation
we want them for all supported build types

Change-Id: I97f4e860601eec10d2c9058bd9e0aecf68475f45
2018-02-08 07:51:33 +01:00
Milczarek, Slawomir
12b437ddc8 Add DAF headers to manifest.yml and redefined headers search path in cmake
Change-Id: I8d399aa717d8274da3892c3229e6502ef601864b
2018-02-07 17:12:17 +01:00
Milczarek, Slawomir
89be67b570 Add support for DAF injection
This commit adds support for Debug Assistance Functionality (DAF)
aka "Driver Aubcapture" to debug builds on Windows.

Change-Id: I7e859d32af17a6fcee23868392df6cd1390e4afd
2018-02-05 16:08:52 +01:00
Mateusz Jablonski
b027a82442 Cmake refactor part 2:
Move defining runtime sources into cmake files in subdirectories

Change-Id: Ic83c12fee65e04d19e7c8e1f88b939f03af7fa28
2018-02-05 13:40:46 +00:00
Zdanowicz, Zbigniew
4ad96b75f5 Make base class for gmm_memory
Change-Id: I307f616be27d5fed126f0e36bff0d182ab7a8b53
2018-01-26 08:35:41 +01:00
Pawel Wilma
369dcff34a Rename build type Release-Internal to ReleaseInternal
Change-Id: I2ec03a046ad84a571067230a011e38526bc8fdaa
2018-01-22 15:02:59 +01:00
Artur Harasimiuk
764f686ad9 minor tweak in instrumentation detection
IGDRCL__INSTRUMENTATION_DIR_SUFFIX depends on component availability. if
available we should use BRANCH_DIR_PREFIX otherwise it should be "/"

Change-Id: I8bdd80041afeda85d93e72b23b1f940fb04754fc
2018-01-17 13:57:35 +01:00
Artur Harasimiuk
9e89d4e6cd refactor cmake to better detect and use instrumentation
Change-Id: I465c76f5d86331cf1ef4cbab054bc41e1c95716b
2018-01-17 00:07:10 +01:00
Dunajski, Bartosz
d11474beab Gmm utils separation
Change-Id: I9f2bdf249aa04b2ada216eee92771880202f5576
2018-01-16 18:44:05 +01:00
Artur Harasimiuk
3883f790cc Instrumentation refactoring
Use bool instead of int where it should be.
Tweak naming.
Removed unused members

Change-Id: I468be28d78e9da7c7fa1632e362ed077929fb91a
2018-01-16 16:15:44 +01:00
hjnapiat
111897132e Switch to new version of GT-Pin headers
Change-Id: I909d1c578b4b9c3d7e24d3e33a9bfd86a815ab14
2018-01-15 20:20:53 +01:00
Kowalczuk, Jakub
877370ef6d Fixing relesae-internal build
Delete variables: gtest_lib and gmock_lib in CMakeLists

Change-Id: Ie2d6e4ca34acef60aaa1b14d0526eb0fbf293097
2018-01-11 18:02:34 +01:00
Dunajski, Bartosz
97021d74a8 Ftr/Wa table separation
Change-Id: I21034f6ec09d8b91dd6cd16135fbe5a19298dcad
2018-01-11 08:55:06 +01:00
Brandon Fliflet
7e9ad41290 Initial commit
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00