commit c88c9663ed417a98a2f76c1b0ffb3562bc9ae93d
Author: Jacek Konieczny <[email protected]>
Date:   Fri Feb 26 21:52:04 2016 +0100

    Do not overwrite good liblayer_utils.so
    
    The right one is from LoaderAndValidationLayers, but would be
    overwritten with some bogus library from VulkanTools.
    
    rel. .5

 vulkan-sdk.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vulkan-sdk.spec b/vulkan-sdk.spec
index 058b509..fe0c265 100644
--- a/vulkan-sdk.spec
+++ b/vulkan-sdk.spec
@@ -18,7 +18,7 @@
 %define tools_commit   e5dccf86cf999ff9988be97337d0e3a3d508b085
 # master branch
 %define        lg_commit       0a73713f0d664aa97a7e359f567a16d7c3fce359
-%define        rel     4
+%define        rel     5
 Summary:       LunarG Vulkan SDK
 Name:          vulkan-sdk
 Version:       1.0.3.0
@@ -260,7 +260,10 @@ cd ../..
 cd VulkanTools/build
 %{__make} install
 
-cp -p install_staging/*.so $RPM_BUILD_ROOT%{_libdir}/vulkan/layer
+# liblayer_utils.so here overwrites the one from validation layers
+# do not install it! layers only
+cp -p install_staging/libVkLayer_*.so $RPM_BUILD_ROOT%{_libdir}/vulkan/layer
+
 for f in layers/*.json ; do
 sed -e's@"library_path": "./@"library_path": "%{_libdir}/vulkan/layer/@' $f > 
$RPM_BUILD_ROOT%{_datadir}/vulkan/explicit_layer.d/$(basename $f)
 done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vulkan-sdk.git/commitdiff/c88c9663ed417a98a2f76c1b0ffb3562bc9ae93d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to