4 ARTIFACTSDIR
=`pwd`/shader-db
6 export DRM_SHIM_DEBUG
=true
8 LIBDIR
=`pwd`/install
/lib
9 export LD_LIBRARY_PATH
=$LIBDIR
11 cd /usr
/local
/shader-db
13 for driver
in freedreno v3d
; do
14 env LD_PRELOAD
=$LIBDIR/lib
${driver}_noop_drm_shim.so \
15 .
/run
-j 4 .
/shaders \
16 > $ARTIFACTSDIR/${driver}-shader-db.txt