Commit Graph

48 Commits

Author SHA1 Message Date
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
Carles Fernandez 99ceb30a0e Fixes related to the MSVC compiler 2016-04-01 01:50:09 +02:00
Carles Fernandez 9a92672905 Fix some CMake complaints
Keeping track of VOLK's improvements, see
434c994f21
2016-03-09 18:19:05 +01:00
Carles Fernandez b24db5d77e Fix compilation with CMake 3.5
The CMake variables CMAKE_BINARY_DIR and CMAKE_SOURCE_DIR should never be set. Now CMake 3.5 prevents the user from doing that. They have been replaced by their counterparts PROJECT_BINARY_DIR and PROJECT_SOURCE_DIR
2016-02-25 15:26:32 +01:00
Carles Fernandez 794d141e84 Improved processor/feature detection when building with MSVC 2016-02-07 10:56:21 +01:00
Carles Fernandez 88752588b6 remove duplicated copyright text 2016-01-21 00:12:14 +01:00
Carles Fernandez f659005e63 Remove duplicated line 2016-01-13 11:19:07 +01:00
Carles Fernandez bbdf52dbed fixes for MacOS 2016-01-13 11:04:32 +01:00
Carles Fernandez 97ed762964 some fixes 2016-01-13 10:22:06 +01:00
Carles Fernandez 551735e034 Fixes warning about posix_memalign 2016-01-12 23:19:09 +01:00
Carles Fernandez 24909510e7 Updating volk_gnsssdr to the new volk scheme 2016-01-12 20:15:16 +01:00
Carles Fernandez e0669ba93d Fixes warning about posix_memalign 2015-09-05 13:05:53 +02:00
Carles Fernandez 6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez 059c23595c some linking fixes 2014-11-09 15:31:35 +01:00
Carles Fernandez ad75893524 Some fixes to volk_gnssssdr integration. Adding copyright message. 2014-11-07 20:51:01 +01:00
Carles Fernandez 1b49c432b2 AAdding copyright and some fixes 2014-11-07 18:02:52 +01:00
andres 766cbf8d45 Allow compiling in linux, GCC... 2014-11-01 03:14:34 +01:00
andres 3e45e4cc56 Various changes:
Updated top CMakeFile.txt
Moved volk module to a better path.
Trying to add support for GCC.
Fixes.
2014-10-28 01:00:04 +01:00