mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
refactor: Split compiler interface between OSs
Create new file: `os_handle.h` which contains OS specific Handle type. Add `shared/source/os_interface/<windows/linux>` include directory to level_zero. Related-To: NEO-8092 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
afba02afa9
commit
0dd40b8616
12
shared/source/compiler_interface/linux/CMakeLists.txt
Normal file
12
shared/source/compiler_interface/linux/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Copyright (C) 2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set(NEO_CORE_COMPILER_INTERFACE_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/compiler_cache_linux.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_compiler_cache_helper.cpp
|
||||
)
|
||||
|
||||
set_property(GLOBAL PROPERTY NEO_CORE_COMPILER_INTERFACE_LINUX ${NEO_CORE_COMPILER_INTERFACE_LINUX})
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "shared/source/os_interface/linux/sys_calls.h"
|
||||
#include "shared/source/utilities/io_functions.h"
|
||||
|
||||
#include "os_handle.h"
|
||||
#include "os_inc.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
Reference in New Issue
Block a user