Commit Graph

538 Commits

Author SHA1 Message Date
Carles Fernandez 9a4bd51063
Fix reading of .repeat_satellite parameter 2021-12-19 17:30:26 +01:00
Carles Fernandez f9911cbc3f
Fix lintian warning very-long-line-length-in-source-file (raised by Lintian v2.110.0)
Rationale:
The source file includes a line length that is well beyond the normally human made code line length.
This very long line length does not allow Lintian to do correctly some source file checks.
This line could also be the result of some text injected by a computer program, and thus could lead to FTBFS bugs.
Last but not least, long line in source code could be used to obfuscate the source code and to hide stuff like backdoors or security problems.
2021-10-29 14:26:55 +02:00
Carles Fernandez 51ecf9998d
cpu_features: Update README.md 2021-10-27 18:34:23 +02:00
Carles Fernandez 82a0e3ec0f
cpu_features: Fix enabling ndk_compat 2021-10-27 18:28:50 +02:00
Carles Fernandez caa5aa6c34
cpu_features: Override CacheInfo only if new data is available via Deterministic Cache Parameters Leaf 2021-10-27 18:17:10 +02:00
Carles Fernandez 3986c330bd
Define CMAKE_POSITION_INDEPENDENT_CODE when building cpu_features 2021-10-25 18:10:09 +02:00
Carles Fernandez 6604f1a555
cpufeatures: Prefer CMAKE_POSITION_INDEPENDENT_CODE over BUILD_PIC 2021-10-25 17:04:46 +02:00
Carles Fernandez aaa54927fa
cpufeatures: fix reimplementation of FillX86BrandString 2021-10-25 16:55:58 +02:00
Carles Fernandez 54347faff8
cpufeatures: Change implementation of FillX86BrandString, fix missing header 2021-10-25 16:45:38 +02:00
Carles Fernandez 3db583ff24
cpufeatures: Fixes wrong cache detection of old processors 2021-10-25 16:37:23 +02:00
Carles Fernandez 1c67ca1627
cpufeatures: encapsulate fake cpu instance in x86 test 2021-10-25 16:27:12 +02:00
Carles Fernandez 545cc90320
cpufeatures: Fix if CPU_FEATURES_OS_DARWIN is not defined 2021-10-25 16:24:50 +02:00
Carles Fernandez 50bb95812d
cpufeatures: Add cache info for new AMD CPUs (0x8000001D) 2021-10-25 16:01:44 +02:00
Carles Fernandez 47838a025b
cpufeatures: add BUNDLE DESTINATION 2021-10-25 15:06:16 +02:00
Carles Fernandez 80fc676995
cpufeatures: Add separator to CpuFeatures_StringView_HasWord 2021-10-25 15:04:14 +02:00
Carles Fernandez a805940bd7
Fixes for clang-format 13 2021-10-18 18:18:57 +02:00
Carles Fernandez bbf50076a0
Fix allocated size not a multiple of alignment 2021-10-01 22:43:11 +02:00
Carles Fernandez 4e9bdd83b7
Bump version to 0.0.15 2021-08-23 14:28:30 +02:00
Carles Fernandez 8982e4d7ad
Enable NEON kernels in aarch64 architecture 2021-08-11 13:01:25 +02:00
Carles Fernandez fc85b2df8e
Improve detection of the cpu_features library 2021-08-11 11:56:33 +02:00
Carles Fernandez 8c400d1377
Add missing header for PowerPC arch 2021-08-03 22:02:52 +02:00
Carles Fernandez 5f90820be8
Select C++23 if the environment allows for it
CMake >= 3.21, GCC >= 11, Clang >= 12, UHD < 4.0
2021-07-27 21:18:26 +02:00
Carles Fernandez ce49384004
Fix detection of std::filesystem in recent CMake versions 2021-07-27 11:10:52 +02:00
Carles Fernandez 9d75a376d8
Fix license link in README file 2021-07-25 20:05:29 +02:00
Carles Fernandez 5920500f0e
CI: fix prettier-markdown job 2021-07-25 19:44:01 +02:00
Carles Fernandez 63463eee71
Set BUILD_TESTIN to OFF by default when building cpu_features 2021-07-25 14:43:27 +02:00
Carles Fernandez 9e921d161c
Update cpu_features to 628c50e with support for Apple M1 already merged 2021-07-25 14:09:03 +02:00
Carles Fernandez 9107705ba9
Add support for Apple M1 AArch64 architecture processor
Based on https://github.com/google/cpu_features/pull/150 and michaelld comments
2021-07-25 12:30:39 +02:00
Carles Fernandez 57d090d29d
Fix regex for old CMake (Fixes: #521) 2021-07-03 15:37:44 +02:00
Carles Fernandez ad5ebaa813
Sanitize branch name so branches with a slash in its name do not break (Fixes: #521) 2021-07-03 13:41:42 +02:00
Carles Fernandez 4004169f6d
Fix building in some archs when cross-compiling with an SDK 2021-06-28 13:51:20 +02:00
Carles Fernandez ecc339e68b
Fix cross-compilation when usign the SDK 2021-06-21 11:08:15 +02:00
Carles Fernandez ac84750f60
Improve volk_gnsssdr library versioning 2021-06-11 09:08:09 +02:00
Carles Fernandez 9a468c8124
Raise CMake max version to 3.20 2021-05-23 14:13:33 +02:00
Carles Fernandez 42be9f1a35
Fix C++ namespace in README 2021-05-21 22:48:27 +02:00
Carles Fernandez dcb5daf9a8
Detect AVX512 on Darwin
See bc2846e78f
2021-05-21 22:47:33 +02:00
Carles Fernandez 08aea9aa5b
Detect Intel's Multi-Precision Add-Carry Instruction Extensions
See d35e2f38eb
2021-05-21 22:26:09 +02:00
Carles Fernandez 5f1268959e
Workaround for volk-gnsssdr-windows CI job 2021-04-17 14:10:14 +02:00
Carles Fernandez 3ee671b225
Detect Zen 3 (K19) CPUs 2021-03-03 19:56:05 +01:00
Carles Fernandez 2a82c27954
Fix linking for std::filesystem in GCC 8 2021-01-31 14:13:25 +01:00
Carles Fernandez 3c17f0a9a7
Fix defect detected by Coverity Scan (uninitialized scalar variables) 2021-01-29 14:01:21 +01:00
Carles Fernandez 603cab1ead
Fix clash of the cpu_features library when volk_gnsssdr is built as a standalone library, and cpu_features was already installed by VOLK
Added new building option ENABLE_OWN_CPUFEATURES, set to ON when building gnss-sdr but set to OFF when building volk_gnsssdr standalone.
The default does no change old behavior when buiding gnss-sdr without volk_gnsssdr already installed
2021-01-11 13:57:29 +01:00
Carles Fernandez 7102677358
Bump version number 2021-01-07 19:16:54 +01:00
Carles Fernandez ea86fb74b3
Fix for Ubuntu 19.04 2021-01-06 13:42:48 +01:00
Carles Fernandez 6b1ab274b1
Fix for GCC < 5.0 2021-01-05 10:53:32 +01:00
Carles Fernandez 68fdedb224
Remove _mm256_zeroupper() calls
Manual usage of _mm256_zeroupper() is not required and leads to miscompilation with GCC 10.2 and optimization level -O3
2021-01-04 14:07:56 +01:00
Carles Fernandez cbdb2ad2e9
Enforce consistent function prototypes 2021-01-04 13:55:18 +01:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez 36e98856d5
Update AArch64 features to Linux 5.10 2020-12-23 12:26:08 +01:00
Carles Fernandez a9de3d4244
Fix detection of python when using Macports 2020-12-18 13:11:26 +01:00