You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +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:
@ -59,6 +59,9 @@ using namespace logging;
|
||||
#include "umsocketselector.h"
|
||||
using namespace primitiveprocessor;
|
||||
|
||||
#include "archcheck.h"
|
||||
using namespace archcheck;
|
||||
|
||||
#include "liboamcpp.h"
|
||||
using namespace oam;
|
||||
|
||||
@ -735,6 +738,11 @@ int ServicePrimProc::Child()
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (checkArchitecture() != arcitecture::SSE4_2 && checkArchitecture() != arcitecture::ASIMD)
|
||||
{
|
||||
std::cerr << "Unsupported CPU architecture. ARM Advanced SIMD or x86_64 SSE4.2 required; aborting. \n";
|
||||
return 1;
|
||||
}
|
||||
Opt opt(argc, argv);
|
||||
|
||||
// Set locale language
|
||||
|
Reference in New Issue
Block a user