mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
freedreno/registers: Re-enable validation for gen_header.py
Commit84e93daa26("freedreno/registers: allow skipping the validation") synced a change that made validation optional for kernel builds, to avoid a lxml dependency for kernel builds. But this inadvertantly also disabled schema validation on the mesa side. CI (and meson "test" target) still validates the xml against the schema, but it is easier if this is also done as part of the normal build to avoid suprises from Marge. Fixes:84e93daa26("freedreno/registers: allow skipping the validation") Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37216>
This commit is contained in:
parent
6e0f9e8f67
commit
a70279adc2
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ foreach f : xml_files
|
|||
_name,
|
||||
input: [gen_header_py, f, freedreno_schema, freedreno_copyright],
|
||||
output: _name,
|
||||
command: [prog_python, '@INPUT0@', '--rnn', rnn_src_path, '--xml', '@INPUT1@', 'c-defines'],
|
||||
command: [prog_python, '@INPUT0@', '--validate', '--rnn', rnn_src_path, '--xml', '@INPUT1@', 'c-defines'],
|
||||
capture: true,
|
||||
)
|
||||
_gzname = f + '.gz'
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ foreach f : xml_files
|
|||
_name,
|
||||
input: [gen_header_py, f, freedreno_schema, freedreno_copyright],
|
||||
output: _name,
|
||||
command: [prog_python, '@INPUT0@', '--rnn', rnn_src_path, '--xml', '@INPUT1@', 'c-defines'],
|
||||
command: [prog_python, '@INPUT0@', '--validate', '--rnn', rnn_src_path, '--xml', '@INPUT1@', 'c-defines'],
|
||||
capture: true,
|
||||
)
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue