Fails on FreeBSD: error: "Unsupported fallback detection of SSE OS support."
yurivict opened this issue · 3 comments
yurivict commented
#error "Unsupported OS"
^
/wrkdirs/usr/ports/devel/volk/work/volk-2.5.0/cpu_features/src/cpuinfo_x86.c:1268:2: error: "Unsupported fallback detection of SSE OS support."
#error "Unsupported fallback detection of SSE OS support."
^
2 errors generated.
Mizux commented
cpu_features/src/cpuinfo_x86.c
Lines 1230 to 1274 in bc2846e
@yurivict Do you know which functions/implementation we could use to support SSE detection on a FreeBSD OS ?
Mizux commented
First it means we must detect FreeBSD OS here
cpu_features/include/cpu_features_macros.h
Lines 70 to 85 in 3e8243b
note: https://docs.freebsd.org/en/books/porters-handbook/porting-dads/#porting-versions
yurivict commented
You can detect FreeBSD with
#if defined(__FreeBSD__)
#endif