mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
build: add option to build with xe drm prelim headers
Xe drm prelim headers are taken from xe branch at https://github.com/intel-gpu/drm-uapi-helper Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
97f0358431
commit
53e02bc615
@@ -28,6 +28,12 @@ endif()
|
||||
|
||||
message(STATUS "xe includes dir: ${NEO_XE_HEADERS_DIR}")
|
||||
|
||||
if(NEO_ENABLE_XE_PRELIM_DETECTION)
|
||||
if(NOT DEFINED NEO_XE_PRELIM_HEADERS_DIR OR NEO_XE_PRELIM_HEADERS_DIR STREQUAL "")
|
||||
get_filename_component(NEO_XE_PRELIM_HEADERS_DIR "${NEO_SOURCE_DIR}/third_party/drm-uapi-helper/xe" ABSOLUTE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED NEO_IAF_HEADERS_DIR OR NEO_IAF_HEADERS_DIR STREQUAL "")
|
||||
get_filename_component(NEO_IAF_HEADERS_DIR "${NEO_SOURCE_DIR}/third_party/uapi/drm-uapi-helper/master" ABSOLUTE)
|
||||
endif()
|
||||
@@ -39,6 +45,7 @@ set(NEO_LINUX_KMD_HEADERS_DIR
|
||||
${NEO_I915_HEADERS_DIR}
|
||||
${NEO_I915_PRELIM_HEADERS_DIR}
|
||||
${NEO_XE_HEADERS_DIR}
|
||||
${NEO_XE_PRELIM_HEADERS_DIR}
|
||||
${NEO_IAF_HEADERS_DIR}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user