Commit Graph

77 Commits

Author SHA1 Message Date
Carles Fernandez fd5174e7ec
Remove duplicate libraries warning emitted by Xcode 15 2024-04-13 09:03:46 +02:00
Carles Fernandez 6fc04b34f2
Fix duplicate warning from Xcode 2024-04-12 18:15:33 +02:00
Carles Fernandez a2f8758ac7
Do not use __VOLK_VOLATILE in neon tests
and other minor chores
2023-12-21 17:56:32 +01:00
Carles Fernandez 9c95aeb07f
Avoid deprecation warnings when VOLK >= 3.1
Bump CMake max version to 3.28
Do not leak build system paths when cross-compiling. Fixes OpenEmbedded QA warning
volk_gnsssdr: Fix 64-bit integer testing
CI: Fix for Python 3.12
2023-12-13 22:12:29 +01:00
Carles Fernandez ab4cc295e8
volk_gnsssdr: Fix syntax for Python 3.12
Without breaking older versions, including 2.7
2023-11-06 14:01:42 +01:00
Carles Fernandez 710f85dc03
Update local version of cpu_features to 0.9.0 2023-11-04 11:54:16 +01:00
Carles Fernandez 3747e0396d
Pass compiler flags to volk_gnsssdr in a more elegant way 2022-12-17 10:19:09 +01:00
Carles Fernandez 2bab3b8863
Fix CMake generator expressions 2022-12-16 14:18:58 +01:00
Carles Fernandez 2e06b27fcf
Fix CMake generator expression 2022-12-16 12:24:23 +01:00
Carles Fernandez fa9d25a5b2
Fix lintian warning hardening-no-fortify-functions 2022-12-16 11:38:43 +01:00
Carles Fernandez c504b16568
CMake improvements: Move _FORTIFY_SOURCE=2 definition to targets, do not apply in Debug mode. Make use of add_compile_definitions() instead of add_definitions() when available 2022-12-04 00:05:07 +01:00
Carles Fernandez 2cde7c0fe8
CMake improvements: Move _FORTIFY_SOURCE=2 definition to targets, do not apply in Debug mode. Make use of add_compile_definitions() instead of add_definitions() when available 2022-12-03 23:55:12 +01:00
Carles Fernandez a975e33dab
Fix for Xcode new build system
CI: add new build-macos-xcode job
2022-11-29 23:38:27 +01:00
Carles Fernandez 5c617d2169
Force building of list_cpu_features 2022-11-26 13:42:12 +01:00
Carles Fernandez ea8b5eba16
Clean up volk_gnsssdr top-level folder 2022-09-05 11:56:57 +02:00
Carles Fernandez d4b2e900cc
Fix building with XCode 2022-04-05 11:58:24 +02:00
Carles Fernandez 7f0a7b1e77
Improve detection of cpu_features, replace ENABLE_OWN_CPUFEATURES building option by ENABLE_CPUFEATURES, defaulting to OFF 2022-04-03 23:24:31 +02:00
Carles Fernandez ac84750f60
Improve volk_gnsssdr library versioning 2021-06-11 09:08:09 +02: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 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 fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +01:00
Carles Fernandez 7e1f0176f4
Make SIMD instructions work on MS Windows 2020-11-20 16:44:06 +01:00
Carles Fernandez 14e588a6af
Remove old CMake support, not used anymore 2020-10-25 11:33:45 +01:00
Carles Fernandez 97a51c511d
Remove unused line 2020-10-24 13:20:55 +02:00
Carles Fernandez 3bc4cf2637
Fixes for old CMake 2020-10-23 22:27:45 +02:00
Carles Fernandez 97224e60d2
Update cpu_features, fix integration 2020-10-23 21:36:12 +02:00
Carles Fernandez c6aec7a105
Fix for CMake < 3.12 2020-08-22 12:43:02 +02:00
Carles Fernandez d50e901caf
Fix for Windows 2020-08-22 12:27:40 +02:00
Carles Fernandez 2a21ee6a54
Fix dll linkage in windows 2020-08-22 11:01:49 +02:00
Carles Fernandez cda2c998b8
Add work towards using cpu_features. Keep compatibility with old systems 2020-08-21 14:43:04 +02:00
Carles Fernandez 7a5907eaf7
Drop compile-time CPU detection 2020-04-02 11:10:20 +02:00
Carles Fernandez e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez 299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez 0f4bd21805
Use Use C11 aligned_alloc
See https://github.com/gnuradio/volk/pull/334
2020-02-13 19:44:24 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez 98ea7dc276
Fix detection of AVX and NEON
Let the compiler know where to find volk/volk_common.h when testing for AVX and NEON

Make use of __VOLK_VOLATILE

Replace <inttypes.h> by <stdint.h> in volk/volk_common.h, fixes configuration in macOS
2020-01-14 12:51:55 +01:00
Carles Fernandez 931d69b76e
Fix ARM NEON detection 2020-01-13 23:12:34 +01:00
Carles Fernandez 5f97d52998 CMake fixes
Remove Boost usage from lib, and fix it in apps to be used only if std::filesystem is not found.
Be more precise in specifying whether include directories are PUBLIC or PRIVATE.
Some whitespace tweaks
2019-12-15 12:43:07 -03:00
Carles Fernandez bc7edede7c
Fixes for MSVC 2019-11-25 21:48:52 +01:00
Carles Fernandez c1a26e01ff
Fix building with Xcode
Now gnss-sdr can be built with Xcode (using the CMake flag -GXcode). Before this commit, this was only possible with volk_gnsssdr already installed.
Reason of failing was that Xcode does not like targets that have only object files. See https://gitlab.kitware.com/cmake/cmake/issues/17457
2019-11-07 17:55:00 +01:00
Carles Fernandez 8f12cbc466
Include Visual Studio 14 2019-11-04 21:09:11 +01:00
Carles Fernandez 62ace8d9e4
Move CMAKE_ASM_FLAGS to arm toolchain files 2019-11-01 11:17:52 +01:00
Carles Fernandez a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez 4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +02:00
Carles Fernandez 6a24b65d64
Fix for VS 2019-03-08 10:28:04 +01:00
Carles Fernandez f3eef2f513
Add modern CMake targets for volk_gnsssdr 2019-01-31 12:12:04 +01:00
Carles Fernandez 928c545c84
Do not overwrite CMAKE_ASM_FLAGS 2019-01-29 14:58:01 +01:00
Carles Fernandez ef45548e87
Add style improvements to CMake scripts 2018-11-25 10:32:21 +01:00
Carles Fernandez e8032d52f9
Use MATCHES when looking for Clang in CMAKE_CXX_COMPILER_ID 2018-11-18 09:14:22 +01:00