File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,18 @@ if [[ "$TARGET_OS" == mac* || "$TARGET_OS" == iOS* || "$TARGET_OS" == android ]]
12
12
FF_EXTRA=
13
13
fi
14
14
if [ ` which dpkg` ]; then # TODO: multi arch
15
+ pkgs=" sshpass cmake ninja-build p7zip-full"
15
16
# wget https://apt.llvm.org/llvm.sh
16
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
17
- # sudo apt update
18
- # sudo apt install -y software-properties-common # for add-apt-repository, ubuntu-tooolchain-r-test is required by trusty
19
- sudo apt-add-repository " deb http://apt.llvm.org/focal/ llvm-toolchain-focal-8 main" # rpi
20
- sudo apt-add-repository " deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
21
- sudo apt-add-repository " deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" # clang-13
22
- sudo apt update
23
- pkgs=" sshpass cmake ninja-build p7zip-full lld-$LLVER clang-tools-$LLVER " # clang-tools: clang-cl
17
+ if [[ " $TARGET_OS " != android ]]; then
18
+ pkgs+=" lld-$LLVER clang-tools-$LLVER " # clang-tools: clang-cl
19
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
20
+ # sudo apt update
21
+ # sudo apt install -y software-properties-common # for add-apt-repository, ubuntu-tooolchain-r-test is required by trusty
22
+ # sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-8 main" # rpi
23
+ sudo apt-add-repository " deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
24
+ sudo apt-add-repository " deb http://apt.llvm.org/focal/ llvm-toolchain-focal main" # clang-13
25
+ sudo apt update
26
+ fi
24
27
if [ " $TARGET_OS " == " linux" ]; then
25
28
pkgs+=" libc++-$LLVER -dev libc++abi-$LLVER -dev libegl1-mesa-dev libgles2-mesa-dev libgl1-mesa-dev libgbm-dev libx11-dev libwayland-dev libasound2-dev libopenal-dev libpulse-dev libva-dev libvdpau-dev libglfw3-dev libsdl2-dev"
26
29
elif [ " $TARGET_OS " == " sunxi" -o " $TARGET_OS " == " raspberry-pi" ]; then
You can’t perform that action at this time.
0 commit comments