mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
ci/android: silence mesa error about //.cache
Pass XDG_CACHE_HOME=/data/local/tmp to binaries that load mesa libraries to avoid the following message on the stderr: Failed to create //.cache for shader cache (Read-only file system)---disabling. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35335>
This commit is contained in:
parent
bdcdfe8b33
commit
47619ef538
1 changed files with 6 additions and 6 deletions
|
|
@ -36,21 +36,21 @@ $ADB push /android-tools/eglinfo /data
|
|||
$ADB push /android-tools/vulkaninfo /data
|
||||
|
||||
get_gles_runtime_renderer() {
|
||||
while [ "$($ADB shell /data/eglinfo | grep 'OpenGL ES profile renderer':)" = "" ] ; do sleep 1; done
|
||||
$ADB shell /data/eglinfo | grep 'OpenGL ES profile renderer' | head -1
|
||||
while [ "$($ADB shell XDG_CACHE_HOME=/data/local/tmp /data/eglinfo | grep 'OpenGL ES profile renderer':)" = "" ] ; do sleep 1; done
|
||||
$ADB shell XDG_CACHE_HOME=/data/local/tmp /data/eglinfo | grep 'OpenGL ES profile renderer' | head -1
|
||||
}
|
||||
|
||||
get_gles_runtime_version() {
|
||||
while [ "$($ADB shell /data/eglinfo | grep 'OpenGL ES profile version:')" = "" ] ; do sleep 1; done
|
||||
$ADB shell /data/eglinfo | grep 'OpenGL ES profile version:' | head -1
|
||||
while [ "$($ADB shell XDG_CACHE_HOME=/data/local/tmp /data/eglinfo | grep 'OpenGL ES profile version:')" = "" ] ; do sleep 1; done
|
||||
$ADB shell XDG_CACHE_HOME=/data/local/tmp /data/eglinfo | grep 'OpenGL ES profile version:' | head -1
|
||||
}
|
||||
|
||||
get_vk_runtime_device_name() {
|
||||
$ADB shell /data/vulkaninfo | grep deviceName | head -1
|
||||
$ADB shell XDG_CACHE_HOME=/data/local/tmp /data/vulkaninfo | grep deviceName | head -1
|
||||
}
|
||||
|
||||
get_vk_runtime_version() {
|
||||
$ADB shell /data/vulkaninfo | grep driverInfo | head -1
|
||||
$ADB shell XDG_CACHE_HOME=/data/local/tmp /data/vulkaninfo | grep driverInfo | head -1
|
||||
}
|
||||
|
||||
# Check what GLES & VK implementation is used before uploading the new libraries
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue