mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
ee5124d714
Make mariadb crc32 lib platform independent It looks strange that someone can make use of 2 crc libraries (Power64 or AArch64) at the same time. The patch sets macros 'CRC32_LIBRARY' to make platform independence as an optional crc32 library. Change-Id: I68bbf73cafb6a12f7fb105ad57d117b114a8c4af Signed-off-by: Yuqi Gu <yuqi.gu@arm.com>
5 lines
157 B
CMake
5 lines
157 B
CMake
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64")
|
|
SET(HAVE_CRC32_VPMSUM 1)
|
|
SET(CRC32_LIBRARY crc32-vpmsum)
|
|
ADD_SUBDIRECTORY(extra/crc32-vpmsum)
|
|
ENDIF()
|