forked from bfgroup/b2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CI Playground linux install script.
- Loading branch information
1 parent
e3f2caf
commit 88a0970
Showing
2 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
|
||
# Usage: | ||
# LLVM_OS: LLVM OS release to obtain clang binaries. Only needed for clang install. | ||
# LLVM_VER: The LLVM toolset version to point the repo at. | ||
# PACKAGES: Compiler packages to install. | ||
|
||
set -e | ||
echo ">>>>>" | ||
echo ">>>>> APT: REPO.." | ||
echo ">>>>>" | ||
sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test" | ||
if test -n "${LLVM_OS}" ; then | ||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
sudo -E apt-add-repository "deb http://apt.llvm.org/${LLVM_OS}/ llvm-toolchain-${LLVM_OS}-${LLVM_VER} main" | ||
fi | ||
echo ">>>>>" | ||
echo ">>>>> APT: UPDATE.." | ||
echo ">>>>>" | ||
sudo -E apt-get -o Acquire::Retries=3 update | ||
echo ">>>>>" | ||
echo ">>>>> APT: INSTALL ${PACKAGES}.." | ||
echo ">>>>>" | ||
sudo -E apt-get -o Acquire::Retries=3 -yq --no-install-suggests --no-install-recommends install ${PACKAGES} | ||
|
||
# Use, modification, and distribution are | ||
# subject to the Boost Software License, Version 1.0. (See accompanying | ||
# file LICENSE.txt) | ||
# | ||
# Copyright Rene Rivera 2020. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters