mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
anv: Fix architecture in intel_icd.{arch}.json
Use the host arch, not the target arch. In Meson and in recent Autotools, the host arch is where the binary will be used. The target arch is useful only when compiling a compiler. See: http://mesonbuild.com/Cross-compilation.html See: https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html Reported-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
9ec33972cc
commit
b7441ef252
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ anv_extensions_c = custom_target(
|
|||
intel_icd = custom_target(
|
||||
'intel_icd',
|
||||
input : 'anv_icd.py',
|
||||
output : 'intel_icd.@0@.json'.format(target_machine.cpu()),
|
||||
output : 'intel_icd.@0@.json'.format(host_machine.cpu()),
|
||||
command : [prog_python2, '@INPUT@',
|
||||
'--lib-path', join_paths(get_option('prefix'), get_option('libdir')),
|
||||
'--out', '@OUTPUT@'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue