Carles Fernandez
8856f4a5a1
Merge branch 'benchmark' into next
2020-06-21 21:10:46 +02:00
Carles Fernandez
a1b06f747b
Add benchmarks of small code snippets
2020-06-21 21:10:22 +02:00
Carles Fernandez
4f4ccccf9b
Improve lamdba usage
2020-06-21 11:57:59 +02:00
Carles Fernandez
87989ead0a
Fix for clang-tidy
2020-06-19 15:37:28 +02:00
Carles Fernandez
bc0cc69d76
Fix clang-format job
2020-06-19 13:01:22 +02:00
Carles Fernandez
0d5b5894b4
Sort header files
2020-06-19 12:39:28 +02:00
Carles Fernandez
f6058c6b61
Use unique_ptr for fft
2020-06-19 10:26:06 +02:00
Carles Fernandez
3e23b4a08c
Indicate with a prefix the private data members for clarity, use unique_ptr instead of shared_ptr
2020-06-19 03:51:50 +02:00
Carles Fernandez
317d72dd4c
Indicate with a prefix the private data members for clarity
2020-06-19 03:22:01 +02:00
Carles Fernandez
7ef64860c4
Indicate with a prefix the private data members for clarity
2020-06-19 02:15:56 +02:00
Carles Fernandez
8abcc2e24b
Indicate with a prefix the private data members for clarity
2020-06-19 01:36:36 +02:00
Carles Fernandez
45c20f08ac
Use unique_ptr instead of shared_ptr for d_gnss_synchro_history, and code cleaning
2020-06-19 00:32:19 +02:00
Carles Fernandez
633d27b5fa
Improve lambda usage
2020-06-18 22:36:58 +02:00
Carles Fernandez
ac3c96afcf
Fix serdes_monitor_pvt_test
2020-06-18 20:41:56 +02:00
Carles Fernandez
b08082e1be
Raw pointer interface for the Monitor_Pvt sink
2020-06-18 20:40:53 +02:00
Carles Fernandez
c237f72a51
Merge branch 'make-unique' into next
2020-06-18 11:51:05 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
...
Avoid indirection caused by passing shared_ptr by reference
The block factory does not have responsability on the lifetime of their inputs
Define std::make_unique when using C++11 and make use of it
Printers are turned into unique_ptr to express ownership
Printers do not participate on the lifelime of the data, so they take const raw pointers
Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
bafeb2aed0
Fix CXX and C standard reporting in CMake < 3.1
2020-06-17 13:31:02 +02:00
Carles Fernandez
7307e82d48
Fix for gcc < 8
2020-06-16 14:00:12 +02:00
Carles Fernandez
8932427d7a
Fix for gcc < 8
2020-06-16 13:35:00 +02:00
Carles Fernandez
405d43866d
Add missing CMake include
2020-06-16 13:07:13 +02:00
Carles Fernandez
026e0f5c1b
Fix for old gcc
2020-06-16 13:04:02 +02:00
Carles Fernandez
771fbf1365
Make use of std::rotl (C++20) if available
2020-06-16 12:22:37 +02:00
Carles Fernandez
094f8f2ee9
Remove unneded reset of the acquisition grid
2020-06-16 08:29:10 +02:00
Carles Fernandez
3beb1e98af
Use lambdas if possible.
...
Fine tuning in CMake scripts
2020-06-15 19:23:59 +02:00
Carles Fernandez
8cc799235b
Update changelog
2020-06-14 13:48:20 +02:00
Carles Fernandez
bd4a354f9a
Fix ENABLE_CLANG_TIDY option
2020-06-14 13:00:36 +02:00
Carles Fernandez
90c8b8e468
Move decisions based on the compiler version to a better place
2020-06-14 12:57:47 +02:00
Carles Fernandez
b301c772e8
Fix AppleClang version detection
2020-06-14 07:52:59 +02:00
Carles Fernandez
ae50ebbaa5
Prefer use of CMAKE_SOURCE_DIR
2020-06-13 21:15:47 +02:00
Carles Fernandez
b712c98a5b
Make clang-tidy happy
2020-06-13 21:13:46 +02:00
Carles Fernandez
dcf9bc52c4
Clarify source definition
2020-06-13 14:32:08 +02:00
Carles Fernandez
e946cd0519
Fix wrong target
2020-06-13 14:09:20 +02:00
Carles Fernandez
4383821ac0
Merge branch 'accel-build' into next
2020-06-13 14:01:55 +02:00
Carles Fernandez
34ebf384a5
Use parallel building for GPSTk and Protobuf
2020-06-13 14:01:35 +02:00
Carles Fernandez
d40c225ade
Add BLAS::BLAS AND LAPACK::LAPACK imported targets
2020-06-13 13:43:00 +02:00
Carles Fernandez
ee84f60fb4
Simplify CMake scripts
2020-06-13 10:56:49 +02:00
Carles Fernandez
d029bf405b
Improve CMake scripts
...
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +02:00
Carles Fernandez
3a0012c60c
Fix cmakelint job
2020-06-13 00:41:16 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names
2020-06-13 00:32:40 +02:00
Carles Fernandez
226689c359
Use target_compile_options instead of CMAKE_C_FLAGS
2020-06-12 22:47:35 +02:00
Carles Fernandez
c2c701d885
Fix warning in CMake < 3.13
2020-06-12 22:33:00 +02:00
Carles Fernandez
d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
...
External sources and data are now always stored in a ./thirdparty folder under the building directory.
A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.
Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez
d15a8d49d2
GCC 11 already exists (see https://gcc.gnu.org/gcc-11/changes.html )
2020-06-11 15:32:11 +02:00
Carles Fernandez
034d25c8d3
Do not emit warnings due to Protocol Buffers generated code
2020-06-11 15:16:40 +02:00
Carles Fernandez
e8f8097b04
Avoid using different C++ standard depending on building options
2020-06-11 14:24:12 +02:00
Carles Fernandez
65a25a47c5
Speed optimization by reserving memory for a std::vector
2020-06-11 13:39:38 +02:00
Carles Fernandez
44eba473a4
Replace a macro by a lambda
2020-06-11 13:32:18 +02:00
Carles Fernandez
d847d3fdcf
Add test about preamble correlation implementations
2020-06-11 12:09:55 +02:00
Carles Fernandez
90086f21c5
Allow stripping also with Clang
2020-06-10 23:01:26 +02:00