head 1.3; access; symbols pkgsrc-2021Q4:1.2.0.6 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.4 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.2 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.1.0.4 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.2 pkgsrc-2020Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2022.03.11.20.59.42; author tnn; state dead; branches; next 1.2; commitid 2AlowXcFqqtsfQvD; 1.2 date 2021.04.05.11.58.57; author tnn; state Exp; branches; next 1.1; commitid KqHKAQk5MkTmb6OC; 1.1 date 2020.12.14.19.04.41; author tnn; state Exp; branches; next ; commitid W8oWhjhZxNEi8KzC; desc @@ 1.3 log @volk: update to 2.5.1 Now correctly detects external devel/cpu_features package, so remove patches for that. Also remove boost dependency since the package was changed to use C++17 instead of boost. @ text @$NetBSD: patch-lib_CMakeLists.txt,v 1.2 2021/04/05 11:58:57 tnn Exp $ Use devel/cpu_features from pkgsrc since the volk release tarball doesn't bundle it and we need to patch cpu_features anyway. --- lib/CMakeLists.txt.orig 2020-12-17 15:49:06.000000000 +0000 +++ lib/CMakeLists.txt @@@@ -517,7 +517,7 @@@@ target_include_directories(volk_obj if(VOLK_CPU_FEATURES) set_source_files_properties(volk_cpu.c PROPERTIES COMPILE_DEFINITIONS "VOLK_CPU_FEATURES=1") target_include_directories(volk_obj - PRIVATE $ + PRIVATE $ ) endif() @ 1.2 log @volk: update to 2.4.1 Fixes build portability regressions introduced in 2.4.0 @ text @d1 1 a1 1 $NetBSD: patch-lib_CMakeLists.txt,v 1.1 2020/12/14 19:04:41 tnn Exp $ @ 1.1 log @volk: update to 2.4.0 pkgsrc: since the volk release tarball only provides the required cpu_features library as a git submodule that has to be manually cloned, we instead depend on devel/cpu_features from pkgsrc and patch the cmake files to accept the static library as an external dependency. Documentation Update README to be more verbose and to improve usefulness. Compilers AppleClang: Treat AppleClang as Clang. Paired with the cpu_features introduction, this enables us to use architecture specific kernels on a broader set of platforms. CMake Enable to not install volk_modtool. Remove "find_package_handle_standard_args" warning. cpu_features Use cpu_features v0.6.0 as a private submodule to detect available CPU features. Fix incorrect feature detection for newer AVX versions. Circumvent platform specific feature detection. Enable more architecture specific kernels on more platforms. Kernels Disable slow and broken SSE4.1 kernel in volk_32fc_x2_dot_prod_32fc Adjust min/max for 32f_s32f_convert_8i kernel Use INT8_* instead of CHAR_* @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- lib/CMakeLists.txt.orig 2020-11-22 16:33:01.000000000 +0000 d8 4 a11 4 @@@@ -511,7 +511,7 @@@@ target_include_directories(volk_obj PRIVATE $ PRIVATE $ PRIVATE $ a13 2 PRIVATE ${CMAKE_CURRENT_BINARY_DIR} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} d15 2 @