Skip to content

Commit

Permalink
Merge pull request #54555 from Calinou/add-vulkan-sdk-macos-install-s…
Browse files Browse the repository at this point in the history
…cript

Add a script to install the Vulkan SDK on macOS
  • Loading branch information
Calinou authored Jul 13, 2022
2 parents 42537da + 28a702d commit 8b059d4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions misc/scripts/install_vulkan_sdk_macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

set -euo pipefail
IFS=$'\n\t'

# Download and install the Vulkan SDK.
curl -LO "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg"
hdiutil attach vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
--accept-licenses --default-answer --confirm-command install
hdiutil detach /Volumes/vulkan-sdk

echo 'Vulkan SDK installed successfully! You can now build Godot by running "scons".'

0 comments on commit 8b059d4

Please sign in to comment.