1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-5180 Check CPU vector instructions set in installer and PrimProc on start (#2499)

* 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>
This commit is contained in:
Andrey Piskunov
2022-08-11 15:28:22 +03:00
committed by GitHub
parent 0174c8ec08
commit c906172bf5
4 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/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