mesa/src/amd
Daniel Stone d0e5203855 ci/lava: Use per-job rootfs overlay for environment
Trying to get arbitrary strings suitably quoted for shell, embedded in a
YAML file, processed by Python templating, is like seven bad ideas all
embedded into one big can of bees.

Reuse the same script we use for bare-metal to generate the environment,
tar that up into a per-job overlay which is added to the
inter-pipeline-reusable rootfs built by the container jobs and the
intra-pipeline-reusable overlay built by the build jobs.

@anholt wrote a chunk of this - replacing the $ENV_VARS GitLab CI
variable with a Python loop across the POSIX job environment - in
!11192, but this still had YAML quoting nightmares, and was more
needless duplication between LAVA and bare-metal.

The diff is large and annoying, but is mostly a sed job to get
ENV_VARS="FOO=bar BAZ=quux" into FOO: bar\nBAZ: quux.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Co-authored-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11309>
2021-06-11 12:13:00 +00:00
..
addrlib amd: fix incorrect addrlib comment for HTILE equations 2021-05-25 16:15:44 +00:00
ci ci/lava: Use per-job rootfs overlay for environment 2021-06-11 12:13:00 +00:00
common ac: Enable 32bit predication on gfx9 with fw feature version 52. 2021-06-11 06:07:10 +00:00
compiler aco/ra: refactor register assignment for vector operands 2021-06-11 12:35:46 +02:00
llvm amd: Add extra source to the mbcnt_amd NIR intrinsic. 2021-06-09 16:48:51 +00:00
registers amd/registers: regenerate json files without 32-bit register fields 2021-05-25 16:15:44 +00:00
vulkan radv: fix aligning the image offset by using align64() 2021-06-11 07:35:32 +02:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
Android.addrlib.mk android: amd/addrlib: define endianess to build 2021-03-27 01:54:49 +01:00
Android.common.mk android: ac: add include src/util path 2021-06-04 09:31:36 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: aco: add aco_optimizer_postRA.cpp to Makefile.sources 2021-06-04 09:31:41 +02:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00