Skip to content

Commit c077708

Browse files
committed
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: Homebrew/homebrew-core#263008 Homebrew/homebrew-core#263009 Signed-off-by: botantony <antonsm21@gmail.com>
1 parent 45e9820 commit c077708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openblas_config_template.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ typedef unsigned long BLASULONG;
3939
typedef uint16_t bfloat16;
4040
#endif
4141

42-
#if defined(__GNUC__) && (__GNUC__ >= 12)
42+
#if defined(__GNUC__) && (__GNUC__ > 12)
4343
typedef _Float16 hfloat16;
4444
#else
4545
#include <stdint.h>

0 commit comments

Comments
 (0)