summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/meson-build.sh3
-rwxr-xr-x.gitlab-ci/run-shader-db.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci/meson-build.sh b/.gitlab-ci/meson-build.sh
index d0df91fa394..42aed0e91c5 100755
--- a/.gitlab-ci/meson-build.sh
+++ b/.gitlab-ci/meson-build.sh
@@ -17,6 +17,7 @@ fi
rm -rf _build
meson _build --native-file=native.file \
${CROSS+--cross /cross_file-$CROSS.txt} \
+ -D prefix=`pwd`/install \
-D libdir=lib \
-D buildtype=debug \
-D build-tests=true \
@@ -32,7 +33,7 @@ cd _build
meson configure
ninja -j4
LC_ALL=C.UTF-8 ninja test
-DESTDIR=$PWD/../install ninja install
+ninja install
cd ..
if test -n "$MESON_SHADERDB"; then
diff --git a/.gitlab-ci/run-shader-db.sh b/.gitlab-ci/run-shader-db.sh
index a6093e5d57b..7580457d850 100755
--- a/.gitlab-ci/run-shader-db.sh
+++ b/.gitlab-ci/run-shader-db.sh
@@ -5,8 +5,8 @@ ARTIFACTSDIR=`pwd`/shader-db
mkdir -p $ARTIFACTSDIR
export DRM_SHIM_DEBUG=true
-LIBDIR=`pwd`/install/usr/local/lib
-export LIBGL_DRIVERS_PATH=$LIBDIR/dri
+LIBDIR=`pwd`/install/lib
+export LD_LIBRARY_PATH=$LIBDIR
cd /usr/local/shader-db