1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-01 09:23:15 +00:00
Commit Graph

558 Commits

Author SHA1 Message Date
Carles Fernandez
052dd1fc85
Fix Python version detection 2020-05-10 18:31:54 +02:00
Carles Fernandez
33696780bf
Do no require six module if python is 3.x 2020-05-10 18:20:20 +02:00
Carles Fernandez
a7928bf14c
Import python six module only if python is 2.7 2020-05-10 18:15:09 +02:00
Carles Fernandez
0637365d6c
Remove python-six as a dependency if Python version is 3.x 2020-05-10 17:31:39 +02:00
Carles Fernandez
b43daff65f
Fix warning in CMake 3.17 2020-05-09 12:15:54 +02:00
Carles Fernandez
7a5907eaf7
Drop compile-time CPU detection 2020-04-02 11:10:20 +02:00
Carles Fernandez
1a2f7c7d9d
Bump version to 0.0.12
Add REUSE badge to README file
2020-03-12 20:13:49 +01:00
Carles Fernandez
4b3f777425
Add cmake modules to cmakelint job and fix errors 2020-03-01 12:29:21 +01: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
581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez
716fa970c4
More markdown fixes 2020-02-27 19:50:08 +01:00
Carles Fernandez
17a7044add Wrap README text into 80 character-length lines, so they are easier to read from the terminal.
Formatted by https://prettier.io/, options: --parser markdown --print-width 80 --prose-wrap always
2020-02-27 18:42:43 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez
0986e4a66e cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:11:08 +01:00
Carles Fernandez
29c1971c24 cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:05:32 +01:00
Carles Fernandez
e0b54cf8fe Rearrange attributes to simplify macros 2020-02-24 11:39:15 +01:00
Carles Fernandez
5698c9c2ea Disable complex math NaN/INFO range checking for performance 2020-02-24 11:38:18 +01:00
Carles Fernandez
ac7a77fd47
Minor fixes 2020-02-17 08:02:59 +01:00
Carles Fernandez
448995f8b0
Improve documentation 2020-02-17 08:00:52 +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
aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +01:00
Carles Fernandez
b7a75453d3
Fix comments syntax in Markdown 2020-02-08 10:52:42 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +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
0f0c3e7e1d Update links 2020-02-06 17:33:29 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
e75a1f19d6
Update links 2020-02-05 10:20:32 +01:00
Carles Fernandez
3f7ad8d8a7
Fix markdown 2020-02-02 13:25:15 +01:00
Carles Fernandez
56608db347
Reorder README 2020-02-02 13:23:37 +01:00
Carles Fernandez
715b7dc404
Reorder README 2020-02-02 13:23:23 +01:00
Carles Fernandez
2fe4e37ae8
Add license badge and BibTex entry for reference 2020-02-01 14:47:21 +01:00
Carles Fernandez
75b2dbf10e
Improve wording, fix broken link 2020-02-01 14:27:49 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez
eb40d9dbb5
Minor fixes 2020-01-26 14:09:49 +01:00
Carles Fernandez
120032c8bd
Fix building with custom build types
None, NoOptWithASM, Coverage, O2WithASM, O3WithASM and ASAN can now be used in CMAKE_BUILD_TYPE, in addition to Debug, Release, RelWithDebInfo and MinSizeRel.
Custom build types passed to volk_gnsssdr

Handle of custom build types when building tests
Fixes for clang
2020-01-19 22:13:50 +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
69e349d832
Fix guards 2020-01-13 03:12:19 +01:00
Carles Fernandez
24a2d6c5d9 Update README to reflect how to build on Raspberry Pi 2019-12-16 10:12:15 -03: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
80fbeb4fe5
Revert "cmake: Use standard way of getting python prefix"
This reverts commit f6311abc87.
2019-11-30 21:14:12 +01:00
Carles Fernandez
f6311abc87
cmake: Use standard way of getting python prefix 2019-11-30 20:48:13 +01:00
Carles Fernandez
0038853c52
Clean CMake files 2019-11-30 20:30:22 +01:00
Carles Fernandez
b552616b99
Find Python 3 with CMake < 3.12 2019-11-30 17:42:44 +01:00
Carles Fernandez
21d19ebd93
Fix typo 2019-11-30 14:19:25 +01:00
Carles Fernandez
51c8732ff1
Look for python3 in first place even if CMake < 3.12 2019-11-30 14:18:39 +01:00
Carles Fernandez
1d8024df98
Apply clang-format 2019-11-29 16:40:03 +01:00
Carles Fernandez
aa9adf3fd6
Replace deprecated exec_program by execute_process 2019-11-29 13:20:49 +01:00
Carles Fernandez
c88fffc5b2
Fix uninstall target 2019-11-29 13:02:02 +01:00
Carles Fernandez
625561a655
Remove deprecated cstdbool header 2019-11-25 22:47:31 +01:00
Carles Fernandez
bc7edede7c
Fixes for MSVC 2019-11-25 21:48:52 +01:00
Carles Fernandez
64a1fcafb2
Boost_ADDITIONAL_VERSIONS is deprecated 2019-11-24 21:20:37 +01:00
Carles Fernandez
17fd01ee3f
Use sha256 instead of sha1 for hash algorithm 2019-11-17 21:01:03 +01:00
Carles Fernandez
815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez
1a9e25aa76
Add __clang__ specific attributes 2019-11-16 12:25:39 +01:00
Carles Fernandez
5728730c2a
cmake: use sha1 instead of md5 for unique target name hash
See https://github.com/gnuradio/volk/issues/238
2019-11-16 11:50:41 +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
75c2dcc929
Remove unused variable 2019-11-01 21:02:43 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
62ace8d9e4
Move CMAKE_ASM_FLAGS to arm toolchain files 2019-11-01 11:17:52 +01:00
Carles Fernandez
d14111c85d
Improve license text wording
Fix for AppleClang compiler >= 11
2019-10-30 21:27:57 +01:00
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez
0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez
d652903cb6
Apply formatting 2019-09-07 09:38:05 +02:00
Carles Fernandez
dac73c730a
Import exceptions module 2019-08-23 22:44:01 +02:00
Carles Fernandez
f5cf32a142
Add additional argument to volk_get_config_path 2019-08-23 22:43:01 +02:00
Carles Fernandez
79b7233da0
Install constants.h alongside other headers 2019-08-23 22:41:13 +02:00
Carles Fernandez
e676346b65
Add -mavx2 and -mfma to clang compiler 2019-08-23 22:32:06 +02:00
Carles Fernandez
91ccc8589e
Add NEON intrinsics 2019-08-23 22:29:30 +02:00
Carles Fernandez
11afe63ef3
Add toolchain for Raspberry Pi 2019-08-23 22:28:10 +02:00
Carles Fernandez
6dc32f6c72
Add tool to plot best kernel performance vs generic kernel 2019-08-23 22:26:45 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit 2019-08-23 21:25:44 +02:00
Carles Fernandez
c4db5476fb Always have a space between // and comment 2019-08-19 10:49:37 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block 2019-08-17 15:29:31 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez
75c71afd30
Merge branch 'next' into release0011 2019-08-04 08:28:19 +02:00
Carles Fernandez
2e93dbe8dc
Make build Reproducible 2019-08-03 20:31:53 +02:00
Carles Fernandez
f349d7c29b
Bump version to 0.0.11 2019-07-27 13:31:12 +02: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
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Carles Fernandez
ca92ff0e44
Catch all exceptions 2019-07-14 00:18:51 +02:00
Carles Fernandez
2d894a8507
Catch exception when using std::experimental 2019-07-13 12:29:06 +02:00
Carles Fernandez
4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +02:00
Carles Fernandez
c31236096d
Build volk_gnsssdr with C++20 with clang++ if available 2019-06-15 22:25:22 +02:00
Carles Fernandez
ec8f398e59
Set CMAKE_CXX_STANDARD to 20 when available 2019-06-15 10:55:49 +02:00
Carles Fernandez
c9822a435c
Allow volk-gnsssdr to be built with std::experimental::filesystem if found 2019-06-11 22:56:24 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez
94d9897cb5
Add CMake module for better detection and usage of std::filesystem in volk_gnsssdr 2019-06-09 19:25:04 +02:00
Carles Fernandez
30ee3dcb89
Build volk-gnssdr without Boost if std::filesystem is available 2019-06-09 02:33:17 +02:00
Carles Fernandez
edbe7b4840
Fix volk_gnsssdr_profile if config file does not exist 2019-06-03 01:30:39 +02:00
Carles Fernandez
fb350e788b
Search for system-wide volk_gnsssdr_config file 2019-05-29 15:56:12 +02:00
Carles Fernandez
7004606f00
Reuse random generator engine for speedup 2019-05-26 20:21:48 +02:00
Carles Fernandez
3157451d57
cmake: add back pre-"modern CMake targets" find variables 2019-05-26 10:43:36 +02:00
Carles Fernandez
e0da44f606
Fix detection of python mako if installed with Macports 2019-04-09 02:27:50 +02:00
Carles Fernandez
41036c1538
Fix kernel 2019-03-24 19:53:51 +01:00
Carles Fernandez
d8f1e4b437
Increase required accuracy in 32-bit rotator_dot_prod test results 2019-03-24 19:35:53 +01:00
Carles Fernandez
441ff637eb
Fix AVX implementation
Samples that are remanent from num_points / 16 were not adecuately integrated
2019-03-24 13:50:12 +01:00
Carles Fernandez
33403dedea Fix high_dynamics correlator 2019-03-21 21:10:56 +01:00
Carles Fernandez
b10aaafb86
Improve Python detection 2019-03-10 13:53:51 +01:00
Carles Fernandez
6a24b65d64
Fix for VS 2019-03-08 10:28:04 +01:00
Carles Fernandez
004dd4a38a Replace the deprecated branch_path() by parent_path() 2019-02-12 12:57:37 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +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
3d2f10dae7
Make sure that regexp are raw strings 2019-01-29 14:52:01 +01:00
Carles Fernandez
2cf690d88e
Add clang support 2019-01-29 14:48:43 +01:00
Carles Fernandez
79e4a170a9
Update date in manpages 2018-12-12 01:50:29 +01:00
Carles Fernandez
9fc9357a08
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-12 01:34:23 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-09 01:09:52 +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
bec3775f23
Replace CMAKE_COMPILER_IS_GNUCXX by CMAKE_CXX_COMPILER_ID 2018-11-17 14:31:06 +01:00
Carles Fernandez
ec50cda692
Replace the deprecated exec_program by execute_process 2018-10-21 11:28:47 +02:00
Antonio Ramos
4375d0a051 Clean code 2018-09-17 19:19:19 +02:00
Antonio Ramos
2903e48e39 Dump carrier_phase_rate and modify matlab file 2018-09-08 23:20:29 +02:00
Antonio Ramos
b66540b776 Add moving average smoother to carrier phase rate 2018-09-07 19:18:03 +02:00
Antonio Ramos
47e5ef7f39 Improve generic kernel 2018-09-06 17:46:55 +02:00
Carles Fernandez
41527fb921
Rename volk_gnsssdr_32f_xn_fast_resampler_32f_xn to volk_gnsssdr_32f_xn_high_dynamics_resampler_32f_xnn 2018-08-23 19:39:41 +02:00
Carles Fernandez
d29befa7e3
Fix int vs unsigned int comparisons 2018-08-12 11:37:21 +02:00
Carles Fernandez
1087b764cf
Add address sanitized build target
Update the Volk build types to include a target that compiles with
-fsanitize=address when using clang or gcc.
Activated with -DCMAKE_BUILD_TYPE=ASAN
2018-08-12 10:59:12 +02:00
Carles Fernandez
66bfbffe89
Add AVX implementation 2018-08-09 22:00:22 +02:00
Carles Fernandez
c5f10cd56c
Add sse4_1 implementation 2018-08-09 21:08:58 +02:00
Carles Fernandez
727cc115c4
Fix kernel 2018-08-08 18:20:09 +02:00
Carles Fernandez
0b5c827eda
Add Doppler rate in fast_resampler kernel. Still not used 2018-08-08 12:03:58 +02:00
Javier Arribas
a23231479f Adding new gnss-sdr volk kernel for a faster local signal replica generation 2018-08-03 11:02:01 +02:00
Carles Fernandez
477967ed32
Python Development component is not needed 2018-07-29 22:45:45 +02:00
Carles Fernandez
17d4a010e1
Improve Python detection 2018-07-29 20:49:09 +02:00
Carles Fernandez
9b0be03256
Add puppets to ctest 2018-07-28 12:34:23 +02:00
Carles Fernandez
fd7b91d544
Fix python version 2018-07-24 13:57:11 +02:00
Carles Fernandez
e3cb3d6eb5
Fix building when python3 is present but python3-six and python3-mako are not 2018-07-24 13:48:33 +02:00
Carles Fernandez
5ba0759cdd
Use python3 when available 2018-07-24 11:24:37 +02:00
Carles Fernandez
3404ea1662
Python 3 compatibility fixes 2018-07-21 11:57:30 +02:00
Carles Fernandez
a25557c868
Add detection of AVX2551CD and AVX512F 2018-07-21 09:18:37 +02:00
Carles Fernandez
927f4d6b21
Add AVX2 implementation 2018-07-20 09:39:37 +02:00
Carles Fernandez
0c2df93794
Bump version number to 0.0.10 2018-06-08 13:43:50 +02:00
Carles Fernandez
9dc85f19b1
Update links 2018-05-25 13:44:57 +02:00
Carles Fernandez
f2ff936fd0
Improve handling of tainted data 2018-05-22 21:21:18 +02:00
Carles Fernandez
8a7f145d47
Catch missing exception 2018-05-21 04:19:42 +02:00
Carles Fernandez
0d70b08288
Fix pedantic warning emitted by GCC 8.1.1 (fedora-rawhide)
The warning was: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2018-05-15 18:38:26 +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
d93a3b6c3f
Switch to https://gnss-sdr.org 2018-05-09 20:20:57 +02:00
Carles Fernandez
223d6a357b
Add header 2018-04-29 12:02:40 +02:00
Carles Fernandez
01429132bd
Avoid clash of redefined macros with Volk 2018-04-29 02:51:50 +02:00
Carles Fernandez
a92e6de3d9
Add support for aarch64 2018-04-29 01:19:48 +02:00