Skip to content

Commit

Permalink
feat: update scripts/prepare-linux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 19, 2025
1 parent 0da4f9b commit d62cef8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/prepare-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ export DEBIAN_FRONTEND=noninteractive

ARCH=${ARCH:-${1:-$(uname -m)}}

run_as_root apt-get update
run_as_root apt-get install -qy lsb-release wget

if [ $ARCH == "x86_64" ]; then
DISTRO=$(lsb_release -c -s)
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | run_as_root tee /etc/apt/trusted.gpg.d/lunarg.asc
run_as_root wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.280-$DISTRO.list https://packages.lunarg.com/vulkan/1.3.280/lunarg-vulkan-1.3.280-$DISTRO.list
run_as_root apt-get update
run_as_root apt-get install -qy vulkan-sdk
run_as_root apt-get install -qy vulkan-sdk cmake pkg-config build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev
else
run_as_root apt-get update
run_as_root apt-get install -qy curl gnupg2
Expand Down

0 comments on commit d62cef8

Please sign in to comment.