From c077708852c7262b6bc0da6bc094b447e7ba7b3c Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 16 Jan 2026 03:04:13 +0100 Subject: [PATCH] fix: don't use `_Float16` type on GCC 12 `_Float16` is not supported by GCC 12 on Arm64 architectures: https://godbolt.org/z/nKbrjPTvG Related to: https://github.com/Homebrew/homebrew-core/pull/263008 https://github.com/Homebrew/homebrew-core/pull/263009 Signed-off-by: botantony --- openblas_config_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openblas_config_template.h b/openblas_config_template.h index e6637f788e..35391efefc 100644 --- a/openblas_config_template.h +++ b/openblas_config_template.h @@ -39,7 +39,7 @@ typedef unsigned long BLASULONG; typedef uint16_t bfloat16; #endif -#if defined(__GNUC__) && (__GNUC__ >= 12) +#if defined(__GNUC__) && (__GNUC__ > 12) typedef _Float16 hfloat16; #else #include