test automated dependencies updates

This commit is contained in:
2023-12-31 13:12:37 +01:00
parent 16424cc2e3
commit d38fd8eeb1
39 changed files with 287256 additions and 322 deletions

18
scripts/fetch_dependencies.sh git.filemode.normal_file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Update volk
rm ../third_party/volk.*
wget https://api.github.com/repos/zeux/volk/zipball/1.3.270 -O volk.zip
unzip -o volk.zip -d ../third_party/
mv ../third_party/zeux-volk*/volk.h ../third_party
mv ../third_party/zeux-volk*/volk.c ../third_party
rm -rf ../third_party/zeux-volk*
rm volk.zip
# Update Vulkan headers
rm -rf ../third_party/vulkan
wget https://github.com/KhronosGroup/Vulkan-Headers/archive/main.zip -O vulkan-headers.zip
unzip -o vulkan-headers.zip -d ../third_party/
mv ../third_party/Vulkan-Headers-main/include/vulkan ../third_party/
rm -rf ../third_party/Vulkan-Headers-main
rm vulkan-headers.zip