[PATCH i-g-t 0/1] Fix dist building with iga64 codes script

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Dec 12 10:52:30 UTC 2024


Currently distro building with meson is failing:
mkdir build
meson setup build
ninja -C build dist

with:
[300/1928] Generating lib/iga64_generated_codes.c with a custom command
FAILED: lib/iga64_generated_codes.c 

build/meson-private/dist-unpack/igt-gpu-tools-1.29/scripts/generate_iga64_codes: line 43: ../lib/iga64_macros.h: No such file or directory
Generating new lib/iga64_generated_codes.c
Generating iga64_code_gpgpu_fill for platform 2
<command-line>: fatal error: ../lib/iga64_macros.h: No such file or directory
compilation terminated.
DIE: cpp error for iga64_assembly_gpgpu_fill.2

Fix the script to find correct path and also bail out gracefully
when it will not be find.

Cc: Andrzej Hajda <andrzej.hajda at intel.com>

Kamil Konieczny (1):
  scripts/generate_iga64_codes: Fix dist build

 scripts/generate_iga64_codes | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

-- 
2.47.1



More information about the igt-dev mailing list