-Dintel-rt=enabled fails to build on 32-bit
On 32-bit x86, the build fails because of conflicting definitions of ulong
:
In file included from ../mesa-9999/src/intel/vulkan/grl/include/GRLIntTypes.h:18,
from ../mesa-9999/src/intel/vulkan/grl/include/GRLRTASCommon.h:24,
from ../mesa-9999/src/intel/vulkan/genX_query.c:1865:
../mesa-9999/src/intel/vulkan/grl/include/GRLOCLCompatibility.h:28:18: error: conflicting types for ‘ulong’; have ‘uint64_t’ {aka ‘long lon
g unsigned int’}
28 | typedef uint64_t ulong;
| ^~~~~
In file included from /usr/include/stdlib.h:514,
from ../mesa-9999/src/intel/vulkan/anv_private.h:27,
from ../mesa-9999/src/intel/vulkan/genX_query.c:30:
/usr/include/sys/types.h:148:27: note: previous declaration of ‘ulong’ with type ‘ulong’ {aka ‘long unsigned int’}
148 | typedef unsigned long int ulong;
| ^~~~~
I believe this was a preexisting issue, but only became possible to hit after commit a512c2a8 removed the x86_64 restriction:
-if ['x86_64'].contains(host_machine.cpu_family()) and \
- get_option('intel-clc') != 'system'
+if get_option('intel-clc') != 'system'