From 0bf9cab22900664590a80f145af1a7b87467d379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Fri, 4 Aug 2023 10:31:09 +0900 Subject: [PATCH] Test arm64 build Testing a theory for #89937 --- src/native/minipal/cpufeatures.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/native/minipal/cpufeatures.c b/src/native/minipal/cpufeatures.c index a606bfbe76b4d..b0547b5dc4930 100644 --- a/src/native/minipal/cpufeatures.c +++ b/src/native/minipal/cpufeatures.c @@ -355,6 +355,8 @@ int minipal_getcpufeatures(void) #ifdef HWCAP_LRCPC if (hwCap & HWCAP_LRCPC) result |= ARM64IntrinsicConstants_Rcpc; +#else +#error No HWCAP_LRCPC #endif #ifdef HWCAP_PMULL // if (hwCap & HWCAP_PMULL) @@ -445,6 +447,8 @@ int minipal_getcpufeatures(void) #else // !HAVE_AUXV_HWCAP_H +#error No HAVE_AUXV_HWCAP_H + #if HAVE_SYSCTLBYNAME int64_t valueFromSysctl = 0; size_t sz = sizeof(valueFromSysctl);