You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-6071 drone refactor (#3641)
* chore(ci): MCOL-6071 less sccache granularity * chore(ci): MCOL-6071 clean old versions of .deb/.rpm files in s3 when publishing * chore(ci): MCOL-6071 fix unittests execution * install sccache after deps, to have curl * chore(ci) MCOL-6071 review fixes --------- Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
This commit is contained in:
28
build/install_clang_deb.sh
Executable file
28
build/install_clang_deb.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
SCRIPT_LOCATION=$(dirname "$0")
|
||||
source "$SCRIPT_LOCATION"/utils.sh
|
||||
|
||||
CLANG_VERSION="$1"
|
||||
|
||||
if [[ $# -ne 1 ]]; then
|
||||
echo "Please pass clang-version as a first parameter"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
change_ubuntu_mirror us
|
||||
|
||||
message "Installing clang-${CLANG_VERSION}"
|
||||
|
||||
retry_eval 5 apt-get clean && apt-get update && apt-get install -y wget curl lsb-release software-properties-common gnupg
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
bash llvm.sh $CLANG_VERSION
|
||||
export CC=/usr/bin/clang
|
||||
export CXX=/usr/bin/clang++
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user