mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-04 14:50:35 +02:00
The executor build was failing randomly due to a missing dependency on `idev_intel_dev`. This patch adds the required dependency to the `meson.build` file to ensure consistent and reliable builds across different configurations. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35928>
59 lines
1.1 KiB
Meson
59 lines
1.1 KiB
Meson
# Copyright © 2024 Intel Corporation
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if not dep_lua.found()
|
|
subdir_done()
|
|
endif
|
|
|
|
executor_flags = [
|
|
no_override_init_args,
|
|
sse2_args,
|
|
]
|
|
|
|
executor_includes = [
|
|
inc_include,
|
|
inc_src,
|
|
inc_intel,
|
|
]
|
|
|
|
executor_hw_libs = []
|
|
foreach v: ['90', '110', '120', '125', '200', '300']
|
|
executor_hw_libs += static_library(
|
|
'executor_hw_ver@0@'.format(v),
|
|
['executor_genx.c', gen_xml_pack],
|
|
include_directories: [executor_includes],
|
|
c_args: [
|
|
executor_flags,
|
|
'-DGFX_VERx10=@0@'.format(v),
|
|
],
|
|
gnu_symbol_visibility: 'hidden',
|
|
dependencies: [
|
|
dep_valgrind,
|
|
idep_genxml,
|
|
idep_intel_dev,
|
|
],
|
|
)
|
|
endforeach
|
|
|
|
executor = executable(
|
|
'executor',
|
|
[
|
|
'executor_main.c',
|
|
'executor_macros.c',
|
|
],
|
|
dependencies: [
|
|
dep_libdrm,
|
|
dep_lua,
|
|
dep_valgrind,
|
|
idep_brw_asm,
|
|
idep_genxml,
|
|
idep_intel_decoder_brw,
|
|
idep_intel_dev,
|
|
idep_libintel_common,
|
|
],
|
|
include_directories: [executor_includes],
|
|
link_with: [executor_hw_libs],
|
|
c_args: [executor_flags],
|
|
gnu_symbol_visibility: 'hidden',
|
|
install: true
|
|
)
|