diff options
Diffstat (limited to 'binary_tarball/scripts/1_Install_Dependencies.sh')
-rwxr-xr-x | binary_tarball/scripts/1_Install_Dependencies.sh | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/binary_tarball/scripts/1_Install_Dependencies.sh b/binary_tarball/scripts/1_Install_Dependencies.sh index 833b139..7f2c85a 100755 --- a/binary_tarball/scripts/1_Install_Dependencies.sh +++ b/binary_tarball/scripts/1_Install_Dependencies.sh @@ -49,14 +49,13 @@ printf "\nInstalling dependencies: $_DEPENDENCIES\n"; apt-get -qq update; apt-get -y -qq install $_DEPENDENCIES; -# Installs (non-ancient) clang -apt install -y software-properties-common apt-transport-https ca-certificates -apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main" -wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -apt-get update -apt-get -y install clang-9 libclang-9-dev - -# Installs (non-ancient) nodejs -# => use nodejs-mozilla instead -# curl -sL https://deb.nodesource.com/setup_13.x | bash - -# apt-get install -y nodejs +if [[ $CARCH == 'x86_64' ]];then + # Installs (non-ancient) clang + apt install -y software-properties-common apt-transport-https ca-certificates + apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main" + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add + apt-get update + apt-get -y install clang-9 libclang-9-dev +else + apt-get -y install clang-8 libclang-8-dev +fi |