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
Carles Fernandez
9b0be03256
Add puppets to ctest
2018-07-28 12:34:23 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
...
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
a92e6de3d9
Add support for aarch64
2018-04-29 01:19:48 +02:00
Carles Fernandez
c4f4f80b45
tests: split testcases in ctest for granular failure reports
2018-03-25 18:55:51 +02:00
Carles Fernandez
98e2b58f02
Fix duplicate symbols
2016-12-26 01:16:24 +01:00
Carles Fernandez
85012b3d74
Improve handling of ORC library if present
...
This also allows to build a snap package
2016-10-23 11:12:13 +02:00
Carles Fernandez
a30bf16abf
Some minor fixes for packaging
...
See https://github.com/gnuradio/volk/pull/100
2016-10-16 08:13:18 +02:00
Carles Fernandez
f180139968
Fix the CMake-based check for posix_memalign
2016-07-02 12:00:30 +02:00
Carles Fernandez
5a73b4e047
Improve package reproducibility
...
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Carles Fernandez
dcc9b6ed8c
Remove compiler flags from MSVC builds
...
See https://github.com/gnuradio/volk/pull/78
2016-05-08 08:34:35 +02:00