[POC] use compiled mesa host tools #10049
Draft
+47
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the builds increasing by ~1hr due to mesa:host tools needing to be compiled with panfrost, this proof of concept is the start of a toolchain to speed up the build process.
Initial version takes the 3 binaries from a GH repo and unpacks them into toolchain when mesa:host would need to be called.
things to work though:
A little bit of experimentation has lead to the following files (for the mesa:host build.) The shared libraries are required only by mesa_clc when built normally, but if mesa:host is built with -Dshared-llvm=disabled then mesa_clc increases in size to 150M (36M xz compressed.) a saving of 60M (11M compressed). These are presently the only files generated by mesa:host. I have put the *.xzexe in https://github.com/heitbaum/mesa-host to this the POC further.