mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 23:20:31 +01:00
ci/android: set VK_DRIVER_FILES before launching cuttlefish
Cuttlefish performs some checks on the host system before launching, setting VK_DRIVER_FILES to the path of the host artifacts makes sure that a vulkan library can be found on the host side. Reviewed-by: Eric Engestrom <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30895>
This commit is contained in:
parent
d93626a84b
commit
44caff4aba
1 changed files with 6 additions and 0 deletions
|
|
@ -12,6 +12,12 @@ export PATH=/cuttlefish/bin:$PATH
|
|||
export LD_LIBRARY_PATH=/cuttlefish/lib64:${CI_PROJECT_DIR}/install/lib:$LD_LIBRARY_PATH
|
||||
export EGL_PLATFORM=surfaceless
|
||||
|
||||
# Pick up a vulkan driver
|
||||
#
|
||||
# TODO: the vulkan driver should probably be controlled by a variable in the
|
||||
# .test-android job or in derived jobs
|
||||
export VK_DRIVER_FILES=${CI_PROJECT_DIR}/install/share/vulkan/icd.d/
|
||||
|
||||
syslogd
|
||||
|
||||
chown root:kvm /dev/kvm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue