mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
use __ARM_FEATURE_CRC32
This commit is contained in:
parent
066fbfff0e
commit
2adcde89f8
@ -66,8 +66,7 @@
|
||||
#cmakedefine WITH_SASL_OAUTHBEARER 1
|
||||
#cmakedefine WITH_SASL_CYRUS 1
|
||||
// crc32chw
|
||||
// actually some arch cpus may have hw crc, feature detection can be added.
|
||||
#if !defined(__aarch64__) && !defined(__PPC__)
|
||||
#if !defined(__PPC__) && (!defined(__aarch64__) || defined(__ARM_FEATURE_CRC32))
|
||||
#define WITH_CRC32C_HW 1
|
||||
#endif
|
||||
// regex
|
||||
|
Loading…
Reference in New Issue
Block a user