You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	* 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>
		
			
				
	
	
		
			29 lines
		
	
	
		
			524 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			524 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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++
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 |