gitlab-ci: fix ldd check for Vulkan drivers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Nov 2019 13:00:46 +0000 (14:00 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Nov 2019 08:34:08 +0000 (09:34 +0100)
The 'dri' directory isn't created when building Vulkan drivers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
.gitlab-ci.yml

index b3888d55baa46b7677ace19730b79167e4ae0ac7..5860026296c42a1b065035c9a270eef0062eb9a2 100644 (file)
@@ -476,7 +476,7 @@ scons-old-llvm:
     # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
     - rm -rf install
     - tar -xf artifacts/install.tar
-    - LD_LIBRARY_PATH=install/lib ldd install/lib/{*,dri/swrast_dri}.so
+    - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
   artifacts:
     when: on_failure
     name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"