Commit Graph

17 Commits

Author SHA1 Message Date
kiumars 5693e1a140 replace the set of CMAKE_SHARED_LINKER_FLAGS with add_link_options.
Change-Id: Iaf8fc1d7680196662d610f34979ded07c6287df9
2022-02-03 12:31:45 -05:00
Laurent Morichetti acb246f788 Get ROCr and ROCt dependencies using cmake targets
Instead of detecting files (header/library), use cmake's find_package to
locate the required dependencies (hsa-runtime64 and hsakmt).

Adding hsa-runtime64::hsa-runtime64 and hsakmt::hsakmt to the
target_link_libraries also takes care of adding the interfaces include
directories to the search path.

Change-Id: I64eb77c97dac7982ac96d3158ad57df776cc0b53
2021-09-14 14:49:32 -07:00
Kent Russell 97c9efce38 Cmake: Support static hsakmt
Add numa lib as this will be required with a static thunk
Look for static thunk of shared thunk cannot be found

Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: Idcaa0c785a0502c9f5fe42e2dfb9e0c1780f9d66
2021-04-27 12:18:02 -04:00
Rachida Kebichi 429a458cae SWDEV-272485 append to CMAKE_CXX_FLAGS instead of override
Change-Id: I0c4364fa800a249d77ec7abd4e73556a8df1ef99
2021-04-06 17:16:28 -04:00
Evgeny 1e2d370eb5 cmake update
Change-Id: I42f1864f46c468072c7b536bb0b40946f69314a1
2020-04-21 00:24:11 -05:00
Evgeny f819e1c463 elliminaring the need of AMD_INTERNAL_BUILD macro defined
Change-Id: Ie97aef943793b1e4f40b7c7397af313520b35beb
2020-04-09 23:41:51 -05:00
Evgeny ffa0a51408 adding mytest target
Change-Id: Ia82b971597a4876d99c85d7dbbf997faea83f0c9
2020-03-19 01:27:44 -05:00
Evgeny 6d6eb2b2d0 adding SPM trace support
Change-Id: I07c0d3ec5c4ec51ea00fea539c930c6ed27b1163
2019-06-04 05:07:19 -05:00
Evgeny e3d7028fe8 install prefix
Change-Id: I995af09240119b021981200405ecac69bc4200ef
2018-08-20 18:09:39 -05:00
Evgeny f6f857f6f4 licensing annotation
Change-Id: Icdd79e25e7ba30e777f1024697f87d583f380a62
2018-08-19 04:18:55 -05:00
Evgeny 2cccdb566e compiling for CentOS support
Change-Id: I0c01b4f34ac3701b5cea324e2e2a34835163aee0
2018-07-27 15:06:26 -05:00
Evgeny 2f83829f4f adding -Werror=unused-result compilation flag
Change-Id: I2869d0a150918ad56cefed07d278cbcc6ef5a4b4
2018-07-13 16:15:48 -05:00
Evgeny a8db3d930c build compatibility
Change-Id: Ifde4b2e4e7cb48d5c06ccce5eb76b7b943c4114a
2018-06-26 16:05:39 -05:00
Evgeny add56e26ae license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6
2018-06-25 19:52:28 -05:00
Evgeny 62531b88ed rc file options: 'basenames', 'timestamp', 'ctx-limit', 'heartbeat', 'sqtt-size' 2018-04-11 13:26:58 -05:00
Evgeny c00a0feb36 minor changes 2018-01-04 20:11:30 -06:00
Evgeny 85278f08a0 ROC profiler prototype sources importing 2017-11-09 17:26:19 -06:00