File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build_dir=build
88mkdir -p build
99cd build
1010
11- CC=/usr/bin/clang-18 CXX=/usr/bin/clang++-18 cmake ../cmake -DCMAKE_CXX_FLAGS=' -stdlib=libc++ -I/usr/lib/llvm-17/include/c++/v1~ '
11+ CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ../cmake -DCMAKE_CXX_FLAGS=' -stdlib=libc++'
1212
1313make -j$( nproc)
1414
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ else #linux
5050 software-properties-common \
5151 wget \
5252 libvulkan1 \
53- vulkan-utils
53+ vulkan-tools
5454
5555 # install clang and build tools
5656 VERSION=$( lsb_release -rs | cut -d. -f1)
@@ -60,7 +60,11 @@ else #linux
6060 wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
6161 sudo apt-get update
6262 fi
63- sudo apt-get install -y clang-16 clang++-16 libc++-16-dev libc++abi-16-dev
63+ if [ " $VERSION " == " 22" ]; then
64+ sudo apt-get install -y clang-14 clang++-14 libc++-14-dev libc++abi-14-dev
65+ else
66+ sudo apt-get install -y clang-17 clang++-17 libc++-17-dev libc++abi-17-dev
67+ fi
6468fi
6569
6670if ! which cmake; then
You can’t perform that action at this time.
0 commit comments