mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-15 02:06:23 +08:00
e74933e8ab
Noticed while checking job logs for it being used elsewhere. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6011>
19 lines
423 B
Bash
Executable File
19 lines
423 B
Bash
Executable File
set -e
|
|
set -v
|
|
|
|
ARTIFACTSDIR=`pwd`/shader-db
|
|
mkdir -p $ARTIFACTSDIR
|
|
export DRM_SHIM_DEBUG=true
|
|
|
|
LIBDIR=`pwd`/install/lib
|
|
export LD_LIBRARY_PATH=$LIBDIR
|
|
|
|
cd /usr/local/shader-db
|
|
|
|
for driver in freedreno intel v3d; do
|
|
echo "Running drm-shim for $driver"
|
|
env LD_PRELOAD=$LIBDIR/lib${driver}_noop_drm_shim.so \
|
|
./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
|
|
> $ARTIFACTSDIR/${driver}-shader-db.txt
|
|
done
|