Skip to content

Commit

Permalink
Fixed installation of Vulkan SDK on ARM64 Ubuntu.
Browse files Browse the repository at this point in the history
chrismile committed Jan 12, 2025

Verified

This commit was signed with the committer’s verified signature.
torkelrogstad Torkel Rogstad
1 parent 148cd64 commit d0f0d5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -687,7 +687,8 @@ if [ $search_for_vulkan_sdk = true ]; then
distro_release=$(cat /etc/upstream-release/lsb-release | grep "DISTRIB_RELEASE=" | sed 's/^.*=//')
fi
if ! compgen -G "/etc/apt/sources.list.d/lunarg-vulkan-*" > /dev/null \
&& ! curl -s -I "https://packages.lunarg.com/vulkan/dists/${distro_code_name}/" | grep "2 404" > /dev/null; then
&& ! curl -s -I "https://packages.lunarg.com/vulkan/dists/${distro_code_name}/" | grep "2 404" > /dev/null \
&& [ "$os_arch" = "x86_64" ]; then
echo "Setting up Vulkan SDK for $(lsb_release -ds)..."
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo curl --silent --show-error --fail \

0 comments on commit d0f0d5a

Please sign in to comment.