ci: add option to overwrite CPU arch

Graphics / Mesa 3D Graphics Library / Mesa - Juan A. Suarez Romero [] - 15 February 2021 15:47 UTC

When loading Vulkan ICD file, it uses the CPU machine identifier to load the correct one, in case multiple versions are installed.

This is fine if the machine where Mesa has been built and the machine where the test is run are exactly the same. But this is not always the case. As example, for armhf architecture, the machine where Mesa is built is identified as `arm7hlf`, but the Raspberry Pi 4 is identified as `armv7l`, so it will fail to load the ICD file, though both are totally compatible.

This allow to define the architecture instead.

5d0c96a8c2c ci: add option to overwrite CPU arch
.gitlab-ci/bare-metal/ | 1 +
.gitlab-ci/ | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)


  • Share