volk/volk-fix-cpu_features-compilation-error.patch
Martin Pluskal 2fef475cfd Accepting request 851836 from home:mnhauke:sdr-devel
- Update to version 2.4.0
  Documentation
  * Update README to be more verbose and to improve usefulness.
  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_*
- Upstream tarball does not have the cpu_features included so use
  a service file to generate the tarball.
- Add patch:
  * volk-fix-cpu_features-compilation-error.patch

OBS-URL: https://build.opensuse.org/request/show/851836
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/volk?expand=0&rev=9
2020-11-30 16:07:15 +00:00

13 lines
483 B
Diff

diff --git a/cpu_features/src/utils/list_cpu_features.c b/cpu_features/src/utils/list_cpu_features.c
index c80ffc5..82a8e72 100644
--- a/cpu_features/src/utils/list_cpu_features.c
+++ b/cpu_features/src/utils/list_cpu_features.c
@@ -340,6 +340,7 @@ static Node* GetCacheTypeString(CacheType cache_type) {
case CPU_FEATURE_CACHE_PREFETCH:
return CreateConstantString("prefetch");
}
+ return 0;
}
static void AddCacheInfo(Node* root, const CacheInfo* cache_info) {