mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/tools: move intel_dev_info to intel/tools
This is a more sensible home for intel_dev_info. Offline shader compilation will take intel_dev_info json files as input. For that use case, the shader compiler hash value is needed in the json file. intel_dev_info will depend on intel/compiler, and must be located in intel/tools to break a circular meson dependency. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26844>
This commit is contained in:
parent
9b1ae760a8
commit
aa649dfa5f
3 changed files with 15 additions and 15 deletions
|
|
@ -117,15 +117,3 @@ if with_tests and with_tools.contains('drm-shim') and with_tools.contains('intel
|
|||
endforeach
|
||||
endforeach
|
||||
endif
|
||||
|
||||
if with_intel_tools
|
||||
intel_dev_info = executable(
|
||||
'intel_dev_info',
|
||||
[files('intel_dev_info.c'), [intel_dev_serialize_src]],
|
||||
dependencies : [dep_libdrm, dep_dl, dep_thread, dep_m, idep_intel_dev, idep_parson],
|
||||
include_directories : [inc_include, inc_src, inc_intel],
|
||||
c_args : [no_override_init_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
install : true
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
|
||||
#include "util/libdrm.h"
|
||||
|
||||
#include "intel_device_info.h"
|
||||
#include "intel_device_info_serialize.h"
|
||||
#include "intel_hwconfig.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
#include "dev/intel_device_info_serialize.h"
|
||||
#include "dev/intel_hwconfig.h"
|
||||
|
||||
static int
|
||||
error(char *fmt, ...)
|
||||
|
|
@ -180,3 +180,15 @@ if with_tools.contains('intel-ui')
|
|||
install : true
|
||||
)
|
||||
endif
|
||||
|
||||
if with_intel_tools
|
||||
intel_dev_info = executable(
|
||||
'intel_dev_info',
|
||||
[files('intel_dev_info.c'), [intel_dev_serialize_src]],
|
||||
dependencies : [dep_libdrm, dep_dl, dep_thread, dep_m, idep_intel_dev, idep_parson],
|
||||
include_directories : [inc_include, inc_src, inc_intel],
|
||||
c_args : [no_override_init_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
install : true
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue