Opened 7 weeks ago
Closed 7 weeks ago
#70879 closed defect (duplicate)
highway: Failure to build highway on Apple's clang 16
Reported by: | lukaso (Lukas Oberhuber) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | highway |
Description
I'm hitting this issue.
https://github.com/google/highway/issues/2317
diff --git a/hwy/detect_targets.h b/hwy/detect_targets.h index a8d4a13f..e0ffb33a 100644 --- a/hwy/detect_targets.h +++ b/hwy/detect_targets.h @@ -223,8 +223,12 @@ #endif // SVE[2] require recent clang or gcc versions. +// +// SVE is not supported on Apple arm64 CPUs and also crashes the compiler: +// https://github.com/llvm/llvm-project/issues/97198 #if (HWY_COMPILER_CLANG && HWY_COMPILER_CLANG < 1100) || \ - (HWY_COMPILER_GCC_ACTUAL && HWY_COMPILER_GCC_ACTUAL < 1000) + (HWY_COMPILER_GCC_ACTUAL && HWY_COMPILER_GCC_ACTUAL < 1000) || \ + (HWY_OS_APPLE && HWY_ARCH_ARM_A64) #define HWY_BROKEN_SVE (HWY_SVE | HWY_SVE2 | HWY_SVE_256 | HWY_SVE2_128) #else #define HWY_BROKEN_SVE 0
Change History (2)
comment:1 Changed 7 weeks ago by lukaso (Lukas Oberhuber)
comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is a duplicate of #70345 (not sure why when I searched it didn't come up).