Commit Graph

26 Commits

Author SHA1 Message Date
Stefanowski, Adam 604b04b5cd Group gen specific small cpp files together part 1
Change-Id: I554caee03f0abcb069fe38c6092c33b5f9eb04f9
2018-05-30 10:41:57 +02:00
Stefanowski, Adam c2368739ce add gen suffix for each gen files
Change-Id: Ie00e23fc6a7abf2114e62f70d66a07beaed2b502
2018-05-21 15:00:47 +02:00
Mateusz Jablonski abbc0a5471 Compile kernels per platform type (core/lp)
compiled kernels are in (binary dir)/(family name with type) folder

Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +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
Hoppe, Mateusz 81362d5b7d Source Level Debugger: add generating debug data in cloc
- generate debug data to .dbg file in cloc
- generate debug kernel for ults with "-g" option
in addition to "-cl-kernel-debug-enable"
- append "-g" option for compilation and build of
programs with kernel debugging enabled to make
compiler generate debug data

Change-Id: I09401f84be6e09da167194a44d1b9a7f2bfb622d
2018-04-18 17:14:15 +02:00
Hoppe, Mateusz 320f456816 Add reading internal options from file to cloc
- if no options are passed try to read options
and internal options from text files.
- refactor code for reading from file.

Change-Id: I608c70f3afe77a4e4845fe1c96cc9d31464c6122
2018-03-27 18:06:14 +02:00
Mateusz Jablonski e3b1ba2112 Cmake refactor part 21
Add macro to simplify iteration for gens, platforms and test configs
Common usage:
1. Write macro "macro_for_each_platform", you can use variables:
   GEN_TYPE, GEN_TYPE_LOWER, PLATFORM_IT, PLATFORM_IT_LOWER
2. Write macro "macro_for_each_gen", you can use variables:
   GEN_TYPE, GEN_TYPE_LOWER
3. In macro "macro_for_each_gen" call "apply_macro_for_each_platform"
4. Call "apply_macro_for_each_gen" with gen type (SUPPORTED/TESTED)

When needed iterate over test configurations:
1. Write macro "macro_for_each_test_config", you can use variables from
   parent macro and SLICES, SUBSLICES and EU_PER_SS
2. In macro "macro_for_each_platform" call "apply_macro_for_each_test_config"
   with specified type (AUB_TESTS/MT_TESTS/UNIT_TESTS)

Change-Id: Icd537f409a224a1ffade1874065f8fee66189350
2018-03-26 17:51:34 +02:00
Koska, Andrzej dd21164b3e Adding the last character in a null terminated string
Change-Id: I4a9cad0974c8b9f1474e79e5c3d78b88dd4b004c
2018-03-26 16:45:22 +02:00
Zdanowicz, Zbigniew 029094437a Change identification of gen families from number to type
Change-Id: I780528aeb2572fc95d8cd9a20eba26687156726b
2018-03-21 19:22:46 +01:00
Cetnerowski, Adam e746081403 Offliner compiler - refactor help
Change-Id: Ie9514ea3aedb208bc653f29fe96e4b71003807fd
2018-03-21 15:09:40 +01:00
Cetnerowski, Adam 214b407353 Offline compiler - fix typo in help
Change-Id: I66d1fd899d351b3f89c610b04737893d106ae296
2018-03-20 20:19:13 +01:00
Hoppe, Mateusz cc6fa3d1e1 Kernel source debugging support 1/n
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size

Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Hoppe, Mateusz 3f5a56ac1c Adding "-internal_options" to cloc
- new parameter for passing internal options string
to compiler

Change-Id: I4eb75922a079eb5dcffbd3bf83141cf42a4d2830
2018-03-09 13:21:18 +01:00
Hoppe, Mateusz 8d5e099aa3 Adding "output" option to cloc for output filename
- instead using input filename for output files,
use name passed as an option.

Change-Id: Ibfa35b1d48d1b92dcfa67c5d59d9ea6a3c2e7639
2018-03-09 09:35:02 +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
Hoppe, Mateusz d9eeb663a2 Add "inputFileLlvm" option to cloc
- enables offline compilation of llvm text source

Change-Id: I72cba4a081ea76446f1c0d4e0bd9ee97e6c55db4
2018-03-07 18:31:46 +01:00
Mateusz Jablonski 2466f9363f Cmake refactor part 7
generate project source tree in all projects with sources
source tree is based on real paths

Change-Id: Ie10a6bffedb8020f25ebcb24a2f797086d8accbb
2018-03-06 14:26:05 +01:00
Artur Harasimiuk a78111c892 cmake cleanup
- remove unused cmake code
- small cleanup around scheduler compilaiton
- remove misleading message related to compiler copying
  message is generated before copy_if_different operation and may be
  incorrect when such copy doesn't happen

Change-Id: Ia419d1ea26e9149b4282dc4883ddda0232ffd3f4
2018-03-06 08:04:40 +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
Mateusz Jablonski ea021f8d69 Cmake refactor part 1: fix dependencies with including os_inc.h
Remove some not needed includes

Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
2018-02-08 09:40:40 +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
Mateusz Jablonski 8d68788807 Remove not used files
Change-Id: I3c232d09023b7a327a5857c46fb9dfdbe63cdb6e
2018-01-23 12:47:20 +01:00
Koska, Andrzej be0306ca68 Adding support for passing proper extensions list from cloc to compilers
Change-Id: I89249cd6ccae9996cd33d7ba26007c778207f028
2018-01-17 12:47:44 +01:00
Brandon Fliflet 7e9ad41290 Initial commit
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00