Provide --without-acle/-DWITH_ACLE options for backward compatibility

This commit is contained in:
Cameron Cawley 2025-02-07 20:51:02 +00:00 committed by Hans Kristian Rosbach
parent 231c4b3a64
commit aecfe160c5
2 changed files with 7 additions and 0 deletions

View File

@ -106,6 +106,11 @@ if(BASEARCH_ARM_FOUND)
option(WITH_ARMV8 "Build with ARMv8 CRC32 intrinsics" ON)
option(WITH_NEON "Build with NEON intrinsics" ON)
cmake_dependent_option(WITH_ARMV6 "Build with ARMv6 SIMD" ON "NOT ARCH MATCHES \"aarch64\"" OFF)
# Provided for backward compatibility
if(DEFINED WITH_ACLE)
set(WITH_ARMV8 ${WITH_ACLE})
endif()
elseif(BASEARCH_PPC_FOUND)
option(WITH_ALTIVEC "Build with AltiVec (VMX) optimisations for PowerPC" ON)
option(WITH_POWER8 "Build with optimisations for POWER8" ON)

2
configure vendored
View File

@ -199,6 +199,8 @@ case "$1" in
-6* | --64) build64=1; shift ;;
--without-vpclmulqdq) buildvpclmulqdq=0; shift ;;
--without-armv8) buildarmv8=0; shift ;;
# Provided for backward compatibility
--without-acle) buildarmv8=0; shift ;;
--without-neon) buildneon=0; shift ;;
--without-armv6) buildarmv6=0; shift ;;
--without-altivec) buildaltivec=0 ; shift ;;