forked from boostorg/predef
Start of 1.12 changes.
This commit is contained in:
1 parent
095faae58d
commit
17cb5b78d5
6 files changed
+245
-274
No files matched your search
Executable
+30
@@ -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}" -a -n "${LLVM_VER}" ; 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.
|
||||
Executable
+38
@@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Usage:
|
||||
# XCODE_VERSION = Dotted version of Xcode to install and make active.
|
||||
# XCODE_INSTALL_USER = Account name for developer.apple.com without TFA.
|
||||
# XCODE_INSTALL_PASSWORD = Password for that account.
|
||||
|
||||
set -e
|
||||
sudo gem install xcode-install
|
||||
xcversion update
|
||||
echo ">>>>>"
|
||||
echo ">>>>> AVAILABLE.."
|
||||
echo ">>>>>"
|
||||
xcversion list
|
||||
echo ">>>>>"
|
||||
echo ">>>>> INSTALLL: Xcode ${XCODE_VERSION}.."
|
||||
echo ">>>>>"
|
||||
xcversion --verbose --no-progress --no-clean --no-show-release-notes install ${XCODE_VERSION}
|
||||
echo ""
|
||||
echo ">>>>>"
|
||||
echo ">>>>> INSTALL: CLI Tools.."
|
||||
echo ">>>>>"
|
||||
xcversion --verbose install-cli-tools
|
||||
echo ""
|
||||
echo ">>>>>"
|
||||
echo ">>>>> AVAILABLE.."
|
||||
echo ">>>>>"
|
||||
xcversion list
|
||||
echo ">>>>>"
|
||||
echo ">>>>> SELECT: Xcode ${XCODE_VERSION}.."
|
||||
echo ">>>>>"
|
||||
xcversion select ${XCODE_VERSION} --symlink
|
||||
|
||||
# Use, modification, and distribution are
|
||||
# subject to the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE.txt)
|
||||
#
|
||||
# Copyright Rene Rivera 2020.
|
||||
Reference in new issue
Block a user