You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-30 07:25:34 +03:00 
			
		
		
		
	* Add check for simd acrh support * Updates * More polite and detailed error messages * Updates * Always true to conditional Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			325 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			325 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -e
 | |
| 
 | |
| # Check for sse4.2 or neon support
 | |
| 
 | |
| if [ -z $(cat /proc/cpuinfo | grep -E 'sse4_2|neon|asimd' | head -c1) ]; then
 | |
|     echo "error: this machine CPU lacks of support for Intel SSE4.2 or ARM Advanced SIMD instructions.
 | |
| Columnstore requires one of this instruction sets, installation aborted"
 | |
|     exit 1
 | |
| fi
 |