From a9d20ced96a125dfb904edf19a0521791b989a0b Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Thu, 26 Sep 2024 07:23:54 +0000 Subject: [PATCH] build: update CMake and Autotools build files for new relic changes --- CMakeLists.txt | 2 +- configure.ac | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f413f97cc..84943b413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ else() set(FP_QNRES "on" CACHE STRING "") endif() -set(FP_METHD "INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" CACHE STRING "") +set(FP_METHD "INTEG;INTEG;INTEG;MONTY;MONTY;JMPDS;SLIDE" CACHE STRING "") if(MSVC) set(COMP_FLAGS "" CACHE STRING "") diff --git a/configure.ac b/configure.ac index 2d1ea04e5..564001c72 100644 --- a/configure.ac +++ b/configure.ac @@ -490,9 +490,8 @@ if [[[ "$host_cpu" == x86_64 && "$use_optimizations" == "yes" ]]]; then AC_DEFINE([WSIZE], [64], [Size of word in this architecture.]) elif [[[ "$host_cpu" == aarch* && "$use_optimizations" == "yes" ]]]; then dnl Support for 64-bit ARM processors - dnl Relic doesn't support aarch64 yet, set CPU_ARCH to none and ARCH to RELIC_NONE. - CPU_ARCH="none" - AC_DEFINE([ARCH], [RELIC_NONE], [Architecture.]) + CPU_ARCH="a64" + AC_DEFINE([ARCH], [A64], [Architecture.]) AC_DEFINE([WSIZE], [64], [Size of word in this architecture.]) elif [[[ "$host_cpu" == i?86 && "$use_optimizations" == "yes" ]]]; then dnl Support for Intel x86 processors