mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Link tools and experimental sources to object library
Related-To: NEO-4480 Change-Id: I16da4434ec24753eabdb1bce9e38ed2e1e83ed6c Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0f3730f5d9
commit
307a5cb822
@@ -11,12 +11,7 @@ set(L0_SRCS_TOOLS_SYSMAN_PCI
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_pci.h
|
||||
)
|
||||
|
||||
target_include_directories(${TARGET_NAME_L0}
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/
|
||||
)
|
||||
|
||||
target_sources(${TARGET_NAME_L0}
|
||||
target_sources(${L0_STATIC_LIB_NAME}
|
||||
PRIVATE
|
||||
${L0_SRCS_TOOLS_SYSMAN_PCI}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
#
|
||||
|
||||
set(L0_SRCS_TOOLS_SYSMAN_PCI_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_pci_imp.cpp
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
target_sources(${TARGET_NAME_L0}
|
||||
target_sources(${L0_STATIC_LIB_NAME}
|
||||
PRIVATE
|
||||
${L0_SRCS_TOOLS_SYSMAN_PCI_LINUX}
|
||||
)
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/os_interface/linux/drm_neo.h"
|
||||
#include "shared/source/os_interface/linux/os_interface.h"
|
||||
|
||||
#include "level_zero/core/source/device.h"
|
||||
|
||||
#include "drm_neo.h"
|
||||
#include "os_interface.h"
|
||||
#include "sysman/linux/os_sysman_imp.h"
|
||||
#include "sysman/linux/sysfs_access.h"
|
||||
#include "sysman/pci/os_pci.h"
|
||||
|
||||
@@ -7,10 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "level_zero/tools/source/sysman/os_sysman.h"
|
||||
#include <level_zero/zet_api.h>
|
||||
|
||||
#include "sysman/os_sysman.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
#
|
||||
|
||||
set(L0_SRCS_TOOLS_SYSMAN_PCI_WINDOWS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_pci_imp.cpp
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${TARGET_NAME_L0}
|
||||
target_sources(${L0_STATIC_LIB_NAME}
|
||||
PRIVATE
|
||||
${L0_SRCS_TOOLS_SYSMAN_PCI_WINDOWS}
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../os_pci.h"
|
||||
#include "sysman/windows/os_sysman_imp.h"
|
||||
#include "level_zero/tools/source/sysman/pci/os_pci.h"
|
||||
#include "level_zero/tools/source/sysman/windows/os_sysman_imp.h"
|
||||
|
||||
namespace L0 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user