Skip to content

Commit 599407b

Browse files
committed
update linux build
1 parent cc29e53 commit 599407b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

scripts/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
#
32
#----------------------------------------------------------------------------------------
43
# Filename
54
# build.sh

scripts/setup.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
#
32
#----------------------------------------------------------------------------------------
43
# Filename
54
# setup.sh
@@ -87,20 +86,22 @@ if [ "$(uname)" = 'Darwin' ]; then
8786
brew update
8887
brew install llvm
8988
else
90-
sudo apt-get update
91-
sudo apt-get -y install --no-install-recommends \
89+
sudo add-apt-repository ppa:graphics-drivers/ppa
90+
sudo apt-get update -y
91+
sudo apt-get install -y --no-install-recommends \
9292
lsb-release \
9393
rsync \
9494
software-properties-common \
9595
wget \
96-
libvulkan1 \
97-
vulkan-utils
96+
vulkan \
97+
vulkan-utils \
98+
libvulkan1
9899
VERSION=$(lsb_release -rs | cut -d. -f1)
99-
if [ "$VERSION" -lt '17' ]; then
100+
if [ "$VERSION" -lt '20' ]; then
100101
wget -O - 'http://apt.llvm.org/llvm-snapshot.gpg.key' | sudo apt-key add -
101-
sudo apt-get update
102+
sudo apt-get update -y
102103
fi
103-
sudo apt-get install -y clang-8 clang++-8 libc++-8-dev libc++abi-8-dev
104+
sudo apt-get install -y clang-17 clang++-17 libc++-17-dev libc++abi-17-dev
104105
fi
105106

106107
# Get/set CMake version.

0 commit comments

Comments
 (0)