diff --git a/math/kfr/Makefile b/math/kfr/Makefile index cc5f84755155..d314966dedcb 100644 --- a/math/kfr/Makefile +++ b/math/kfr/Makefile @@ -1,49 +1,54 @@ PORTNAME= kfr -DISTVERSION= 6.2.0 +DISTVERSION= 6.3.0 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters WWW= https://github.com/kfrlib/kfr LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= architecture mismatch in cmake, see https://github.com/kfrlib/kfr/issues/222 ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 ONLY_FOR_ARCHS_REASON= only x86, x86_64, ARM (ARMv7+ hf) and AArch64 (aka ARM64) are supported, see https://github.com/kfrlib/kfr/issues/158#issuecomment-1204723324 USES= cmake:testing compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= kfrlib -CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_ON= BUILD_SHARED_LIBS ENABLE_EXAMPLES CMAKE_TESTING_ON= ENABLE_TESTS CMAKE_TESTING_TARGET= ${ALL_TARGET} #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 CMAKE_ARGS_armv6= -DCMT_FORCE_GENERIC_CPU=1 # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1 .include -.if ${ARCH} == amd64 || ${ARCH} == i386 +.ifndef CPUTYPE && (${ARCH} == amd64 || ${ARCH} == i386) PLIST_FILES= lib/libkfr_dft_avx.so \ lib/libkfr_dft_avx2.so \ lib/libkfr_dft_avx512.so \ lib/libkfr_dft_sse2.so \ lib/libkfr_dft_sse41.so \ lib/libkfr_dsp_avx.so \ lib/libkfr_dsp_avx2.so \ lib/libkfr_dsp_avx512.so \ lib/libkfr_dsp_sse2.so \ lib/libkfr_dsp_sse41.so +.else +CMAKE_OFF= KFR_ENABLE_MULTIARCH +PLIST_FILES= lib/libkfr_dft.so \ + lib/libkfr_dsp.so .endif +post-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/sample_rate_converter ${STAGEDIR}${PREFIX}/bin/kfr_src + post-test: # see https://github.com/kfrlib/kfr/issues/164 @cd ${BUILD_WRKSRC} && \ ${BUILD_WRKSRC}/bin/all_tests -# tests as of 6.2.0: [--SUCCESS--] 199/199 tests 2810450/2810450 checks - .include diff --git a/math/kfr/distinfo b/math/kfr/distinfo index 459794fc51c3..a5fdbd4e47ac 100644 --- a/math/kfr/distinfo +++ b/math/kfr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751181730 -SHA256 (kfrlib-kfr-6.2.0_GH0.tar.gz) = bc9507e1dde17a86b68fb045404b66c5c486e61e324d9209468ea1e6cac7173c -SIZE (kfrlib-kfr-6.2.0_GH0.tar.gz) = 11281340 +TIMESTAMP = 1754130652 +SHA256 (kfrlib-kfr-6.3.0_GH0.tar.gz) = 3b2eb54edb9c1ba6d30648b47d11bd445cda4883052d592801bd5482f837162c +SIZE (kfrlib-kfr-6.3.0_GH0.tar.gz) = 11284158 diff --git a/math/kfr/pkg-plist b/math/kfr/pkg-plist index 1ea587a3ec63..f3458a431250 100644 --- a/math/kfr/pkg-plist +++ b/math/kfr/pkg-plist @@ -1,150 +1,151 @@ +bin/kfr_src include/kfr/all.hpp include/kfr/base.hpp include/kfr/base/basic_expressions.hpp include/kfr/base/conversion.hpp include/kfr/base/endianness.hpp include/kfr/base/expression.hpp include/kfr/base/filter.hpp include/kfr/base/fraction.hpp include/kfr/base/generators.hpp include/kfr/base/handle.hpp include/kfr/base/impl/static_array.hpp include/kfr/base/inline_vector.hpp include/kfr/base/math_expressions.hpp include/kfr/base/memory.hpp include/kfr/base/npy.hpp include/kfr/base/random.hpp include/kfr/base/random_bits.hpp include/kfr/base/reduce.hpp include/kfr/base/shape.hpp include/kfr/base/simd_expressions.hpp include/kfr/base/small_buffer.hpp include/kfr/base/state_holder.hpp include/kfr/base/tensor.hpp include/kfr/base/transpose.hpp include/kfr/base/univector.hpp include/kfr/capi.h include/kfr/cident.h include/kfr/cometa.hpp include/kfr/cometa/array.hpp include/kfr/cometa/cstring.hpp include/kfr/cometa/ctti.hpp include/kfr/cometa/function.hpp include/kfr/cometa/memory.hpp include/kfr/cometa/named_arg.hpp include/kfr/cometa/numeric.hpp include/kfr/cometa/range.hpp include/kfr/cometa/result.hpp include/kfr/cometa/string.hpp include/kfr/cometa/tuple.hpp include/kfr/config.h include/kfr/dft.hpp include/kfr/dft/cache.hpp include/kfr/dft/convolution.hpp include/kfr/dft/fft.hpp include/kfr/dft/reference_dft.hpp include/kfr/dsp.hpp include/kfr/dsp/biquad.hpp include/kfr/dsp/biquad_design.hpp include/kfr/dsp/dcremove.hpp include/kfr/dsp/delay.hpp include/kfr/dsp/ebu.hpp include/kfr/dsp/fir.hpp include/kfr/dsp/fir_design.hpp include/kfr/dsp/goertzel.hpp include/kfr/dsp/iir.hpp include/kfr/dsp/iir_design.hpp include/kfr/dsp/mixdown.hpp include/kfr/dsp/oscillators.hpp include/kfr/dsp/sample_rate_conversion.hpp include/kfr/dsp/speaker.hpp include/kfr/dsp/special.hpp include/kfr/dsp/units.hpp include/kfr/dsp/waveshaper.hpp include/kfr/dsp/weighting.hpp include/kfr/dsp/window.hpp include/kfr/except.hpp include/kfr/io.hpp include/kfr/io/audiofile.hpp include/kfr/io/file.hpp include/kfr/io/python_plot.hpp include/kfr/io/tostring.hpp include/kfr/kfr.h include/kfr/math.hpp include/kfr/math/asin_acos.hpp include/kfr/math/atan.hpp include/kfr/math/compiletime.hpp include/kfr/math/complex_math.hpp include/kfr/math/gamma.hpp include/kfr/math/hyperbolic.hpp include/kfr/math/impl/asin_acos.hpp include/kfr/math/impl/atan.hpp include/kfr/math/impl/gamma.hpp include/kfr/math/impl/hyperbolic.hpp include/kfr/math/impl/log_exp.hpp include/kfr/math/impl/modzerobessel.hpp include/kfr/math/impl/sin_cos.hpp include/kfr/math/impl/sqrt.hpp include/kfr/math/impl/tan.hpp include/kfr/math/interpolation.hpp include/kfr/math/log_exp.hpp include/kfr/math/modzerobessel.hpp include/kfr/math/sin_cos.hpp include/kfr/math/sqrt.hpp include/kfr/math/tan.hpp include/kfr/multiarch.h include/kfr/runtime.hpp include/kfr/runtime/cpuid.hpp include/kfr/runtime/cpuid_auto.hpp include/kfr/simd.hpp include/kfr/simd/abs.hpp include/kfr/simd/clamp.hpp include/kfr/simd/comparison.hpp include/kfr/simd/complex.hpp include/kfr/simd/complex_type.hpp include/kfr/simd/constants.hpp include/kfr/simd/digitreverse.hpp include/kfr/simd/horizontal.hpp include/kfr/simd/impl/abs.hpp include/kfr/simd/impl/backend.hpp include/kfr/simd/impl/backend_clang.hpp include/kfr/simd/impl/backend_generic.hpp include/kfr/simd/impl/basicoperators_clang.hpp include/kfr/simd/impl/basicoperators_complex.hpp include/kfr/simd/impl/basicoperators_generic.hpp include/kfr/simd/impl/clamp.hpp include/kfr/simd/impl/function.hpp include/kfr/simd/impl/intrinsics.h include/kfr/simd/impl/logical.hpp include/kfr/simd/impl/min_max.hpp include/kfr/simd/impl/operators.hpp include/kfr/simd/impl/read_write.hpp include/kfr/simd/impl/round.hpp include/kfr/simd/impl/saturation.hpp include/kfr/simd/impl/select.hpp include/kfr/simd/impl/simd.hpp include/kfr/simd/impl/specialconstants.hpp include/kfr/simd/impl/specializations.hpp include/kfr/simd/logical.hpp include/kfr/simd/mask.hpp include/kfr/simd/min_max.hpp include/kfr/simd/operators.hpp include/kfr/simd/platform.hpp include/kfr/simd/read_write.hpp include/kfr/simd/round.hpp include/kfr/simd/saturation.hpp include/kfr/simd/select.hpp include/kfr/simd/shuffle.hpp include/kfr/simd/sort.hpp include/kfr/simd/types.hpp include/kfr/simd/vec.hpp include/kfr/testo/assert.hpp include/kfr/testo/comparison.hpp include/kfr/testo/console_colors.hpp include/kfr/testo/double_double.hpp include/kfr/testo/testo.hpp include/kfr/version.hpp lib/cmake/kfr/KFRConfig-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/kfr/KFRConfig.cmake lib/cmake/kfr/KFRConfigVersion.cmake lib/libkfr_io.so