git: 30ec60155c9b - main - math/kfr: Mark broken on riscv64; Fix build on armv6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Jul 2022 03:37:26 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=30ec60155c9b71b38a42c8794828ff9e2113d81f
commit 30ec60155c9b71b38a42c8794828ff9e2113d81f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-20 03:36:28 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-20 03:36:28 +0000
math/kfr: Mark broken on riscv64; Fix build on armv6
Reported by: fallout
---
math/kfr/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/math/kfr/Makefile b/math/kfr/Makefile
index bbbea8bf820f..0788cdfa3481 100644
--- a/math/kfr/Makefile
+++ b/math/kfr/Makefile
@@ -8,6 +8,8 @@ COMMENT= C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BROKEN_riscv64= error: no member named 'neon' in 'kfr::cpu_t'
+
USES= cmake compiler:c++17-lang
USE_GITHUB= yes
@@ -15,6 +17,8 @@ GH_ACCOUNT= kfrlib
CMAKE_ON= BUILD_SHARED_LIBS
+CXXFLAGS_armv6= -march=native # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
+
do-test: # some tests fail: https://github.com/kfrlib/kfr/issues/132
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_SHARED_LIBS:BOOL=ON ${CMAKE_SOURCE_PATH} && \