mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08:00
etnaviv: build dependency for the etnaviv tests
Resolves failures as:
... -o src/etnaviv/isa/tests/etnaviv_disasm.p/disasm.cpp.o -c ../src/etnaviv/isa/tests/disasm.cpp
In file included from ../src/etnaviv/isa/tests/disasm.cpp:12:
../src/etnaviv/isa/asm.h:15:10: fatal error: etnaviv/isa/enums.h: No such file or directory
15 | #include "etnaviv/isa/enums.h"
| ^~~~~~~~~~~~~~~~~~~~~
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11740
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30829>
(cherry picked from commit 8f8a51ac5c
)
This commit is contained in:
parent
a092ccedaa
commit
5c4bbd97b8
@ -864,7 +864,7 @@
|
||||
"description": "etnaviv: build dependency for the etnaviv tests",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
@ -56,6 +56,11 @@ etnaviv_enums_h = custom_target(
|
||||
depend_files: isa_depend_files,
|
||||
)
|
||||
|
||||
idep_etnaviv_enums_h = declare_dependency(
|
||||
sources : [etnaviv_enums_h],
|
||||
include_directories : include_directories('.'),
|
||||
)
|
||||
|
||||
encode_h = custom_target(
|
||||
'encode.h',
|
||||
input: ['etnaviv.xml'],
|
||||
|
@ -8,6 +8,6 @@ test(
|
||||
executable(
|
||||
'etnaviv_disasm', 'disasm.cpp',
|
||||
include_directories: [inc_etnaviv, inc_src],
|
||||
dependencies : [idep_gtest, idep_libetnaviv_decode],
|
||||
dependencies : [idep_gtest, idep_etnaviv_enums_h, idep_libetnaviv_decode],
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user