Skip to content

Commit c5b68a9

Browse files
authored
[libc][math][c23] Temporarily disable float16 on RISC-V (#94984)
See Buildbot failures: - https://lab.llvm.org/buildbot/#/builders/257/builds/13450 - https://lab.llvm.org/buildbot/#/builders/256/builds/14531
1 parent dbc99e9 commit c5b68a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc/include/llvm-libc-macros/float16-macros.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
#define LLVM_LIBC_MACROS_FLOAT16_MACROS_H
1111

1212
#if defined(__FLT16_MANT_DIG__) && \
13-
(!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__))
13+
(!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) && \
14+
!defined(__riscv)
1415
#define LIBC_TYPES_HAS_FLOAT16
1516
#endif
1617

0 commit comments

Comments
 (0)