diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2023-08-17 04:58:43 +0200 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2023-08-17 05:00:27 +0200 |
| commit | e41fd79f62853ce8748f8c437ca407003d81da3a (patch) | |
| tree | 34dc5f8996866dd6c4dfb42b4956504dbb22d697 | |
| parent | editors/texstudio: Update to 4.6.3 (diff) | |
devel/highway: unbreak with clang 16 on i386 after bcdc19e0fb16
In file included from hwy/nanobenchmark.cc:27:
In file included from hwy/robust_statistics.h:24:
hwy/base.h:386:19: error: _Float16 is not supported on this target
using float16_t = _Float16;
^
Reported by: pkg-fallout
| -rw-r--r-- | devel/highway/files/patch-hwy_base.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/highway/files/patch-hwy_base.h b/devel/highway/files/patch-hwy_base.h new file mode 100644 index 000000000000..bac2d6a5c8df --- /dev/null +++ b/devel/highway/files/patch-hwy_base.h @@ -0,0 +1,13 @@ +https://github.com/google/highway/issues/1658 + +--- hwy/base.h.orig 2023-08-11 13:54:08 UTC ++++ hwy/base.h +@@ -381,7 +381,7 @@ using float16_t = __fp16; + // which is missing __extendhfsf2. + #elif ( \ + (HWY_ARCH_RVV && defined(__riscv_zvfh) && HWY_COMPILER_CLANG) || \ +- (HWY_ARCH_X86 && ((HWY_COMPILER_CLANG >= 1600 && !HWY_COMPILER_CLANGCL) || \ ++ (HWY_ARCH_X86_64 && ((HWY_COMPILER_CLANG >= 1600 && !HWY_COMPILER_CLANGCL) || \ + HWY_COMPILER_GCC_ACTUAL >= 1200))) + using float16_t = _Float16; + // 3) Otherwise emulate |
