1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-13 16:56:52 +00:00
Commit Graph

837 Commits

Author SHA1 Message Date
Carles Fernandez
8f2ed57b0e
Report Boost_USE_STATIC_LIBS in building summary 2021-12-17 19:48:11 +01:00
Carles Fernandez
da9d0122d7
Fix detection of gr-limesdr branch
Fixes build with macOS
2021-12-06 20:56:28 +01:00
Javier Arribas
c262d74e03 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2021-11-29 20:54:56 +01:00
Carles Fernandez
3ff534bb4c
Fix selection of C++ standard 2021-11-23 18:53:56 +01:00
Carles Fernandez
bcec8331e6
Fixes for building against GNU Radio master
Log4cpp has been replaced by spdlog and fmt
2021-11-23 16:38:50 +01:00
Carles Fernandez
cc38d6bc08
Fixes for building against GNU Radio master
Log4cpp has been replaced by spdlog
2021-11-23 13:30:48 +01:00
Javier Arribas
ede805f9c3 Fix some build errors for Android cross-compiling 2021-11-22 17:47:00 +01:00
Javier Arribas
fd57325bd4 Merge with next 2021-11-11 15:42:41 +01:00
Carles Fernandez
a7a140862b
Fix building against latest GNU Radio
Replace boost::any by std::any
2021-10-30 05:43:22 +02:00
Carles Fernandez
bf5edf32cc
Fix building against UHD 3.15.0.0-5 2021-10-29 01:36:55 +02:00
Carles Fernandez
272db9ce59
Fix building against GNU Radio master (currently 3.10.0.git), since it breaks when the C++ standard is C++20 2021-10-27 18:58:55 +02:00
Carles Fernandez
8e8dac91da
Update local version of google/benchmark to 1.6.0 2021-10-25 17:47:06 +02:00
Javier Arribas
0c49a44946 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2021-10-25 12:03:52 +02:00
Carles Fernandez
c0cc458b7d
Move VOLK detection before GNU Radio's.
Update local version of Protocol Buffers to 3.19.0
2021-10-23 14:16:54 +02:00
Javier Arribas
c9d6688f1b Merge with next 2021-10-20 09:47:33 +02:00
Carles Fernandez
8cd13e7ccb
Update local version of Armadillo to 10.7 2021-10-09 12:38:36 +02:00
Carles Fernandez
c2f526be8e
Update local version of Protocol Buffers to 3.18.0 2021-09-20 21:30:03 +02:00
Carles Fernandez
0fc18f13f9
The action continues in the next branch 2021-08-24 09:42:19 +02:00
Carles Fernandez
4e9bdd83b7
Bump version to 0.0.15 2021-08-23 14:28:30 +02:00
Carles Fernandez
13115e2c7e
Update google-benchmarks to 1.5.6 2021-08-11 19:02:58 +02:00
Javier Arribas
29f59256be Merge with next 2021-07-30 15:42:29 +02:00
Carles Fernandez
5f90820be8
Select C++23 if the environment allows for it
CMake >= 3.21, GCC >= 11, Clang >= 12, UHD < 4.0
2021-07-27 21:18:26 +02:00
Carles Fernandez
c26f27e836
Update Armadillo local version 2021-07-25 19:31:45 +02:00
Carles Fernandez
9107705ba9
Add support for Apple M1 AArch64 architecture processor
Based on https://github.com/google/cpu_features/pull/150 and michaelld comments
2021-07-25 12:30:39 +02:00
Carles Fernandez
c9341b6d35
Bump CMake compatibility to version 3.21 2021-07-24 13:59:05 +02:00
Javier Arribas
877ff2e7a0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-06-29 18:19:05 +02:00
Carles Fernandez
4004169f6d
Fix building in some archs when cross-compiling with an SDK 2021-06-28 13:51:20 +02:00
Javier Arribas
514bb331ce Merging next branch 2021-06-21 17:00:27 +02:00
Carles Fernandez
27d0419f79
Remove abandoned Gn3s_Signal_Source and ENABLE_GN3S building option 2021-06-15 14:19:40 +02:00
Carles Fernandez
6e6f1e007c
Merge branch 'matio-cmake' into next 2021-06-14 15:34:21 +02:00
Carles Fernandez
6d40c9e5a9
Fix local building of Matio for a range of HDF5 versions 2021-06-14 11:37:12 +02:00
Carles Fernandez
40b39c2468
Fix local building of Matio for OpenSUSE 2021-06-13 21:05:20 +02:00
Carles Fernandez
bf7cea7240
Update Googletest local version to 1.11.0 2021-06-13 14:21:51 +02:00
Carles Fernandez
c97caf1227
Fix for OpenSUSE and Fedora (static hdf5 library is shipped in another package) 2021-06-13 11:05:13 +02:00
Carles Fernandez
629a8de149
Update google-benchmark version to 1.5.5. Fix building with Xcode 2021-06-12 14:42:16 +02:00
Carles Fernandez
22b26be03f
Fix local building of Matio for old hdf5 versions 2021-06-12 14:12:25 +02:00
Carles Fernandez
c20d8ecef7
If the Matio library is not found, now it is configured and built by CMake instead of using autotools 2021-06-12 12:37:39 +02:00
Carles Fernandez
d999a5e6a3
Update local version of Protocol Buffers to 3.17.3 2021-06-10 09:01:58 +02:00
Carles Fernandez
e8632fd4f6
Update google-benchmark version to 1.5.4 2021-05-30 14:33:20 +02:00
Carles Fernandez
0fe1838e45
Update local version of Protocol Buffers to 3.17.1 2021-05-25 11:02:54 +02:00
Carles Fernandez
f9082a971a
Raise CMake max version to 3.20 2021-05-23 13:20:42 +02:00
Carles Fernandez
786feddd13
Update Armadillo and Protocol Buffers local versions 2021-05-22 00:56:26 +02:00
Javier Arribas
4d2fb9290a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-05-15 16:37:05 +02:00
Carles Fernandez
6dedcb6c3a
Save time and some warnings when building glog-v0.5.0 by deactivating tests
Improve wording in messages
2021-05-11 11:56:01 +02:00
Carles Fernandez
9e12aa7924
Update local glog version to 0.5.0, ProtocolBuffers version to 3.16.0 and update Googletest commit 2021-05-09 09:27:51 +02:00
Javier Arribas
9802ac8af0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-28 11:05:10 +02:00
Carles Fernandez
7fda06adb8
Fix building for UHD 4.0.0.0 2021-04-26 09:33:36 +02:00
Carles Fernandez
04c61536c6
Google benchmarks already fixed for GCC 11 2021-04-25 17:25:20 +02:00
Carles Fernandez
49fc117ab1
Improve control on gtest version 2021-04-24 01:16:20 +02:00
Carles Fernandez
49cfa52d86
Update google/benchmark to 1.5.3 2021-04-23 17:20:15 +02:00
Javier Arribas
7bf008c22c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-12 10:18:19 +02:00
Carles Fernandez
0d95d2273a
Update ProtocolBuffers and Armadillo local versions 2021-04-09 20:53:06 +02:00
Javier Arribas
c1880d1ece Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-07 14:52:59 +02:00
Carles Fernandez
09b4c8f7a3
Fix bug in searching for gr-iio when CMake is re-run several times (fixes #491) 2021-04-04 11:24:55 +02:00
Carles Fernandez
e95352492f
Update local version of Protocol Buffers to 3.15.7 2021-04-04 10:29:59 +02:00
Carles Fernandez
0478547757 Update local Matio version to 1.5.21 2021-03-28 18:16:29 +02:00
Carles Fernandez
60a7a6d51d
Update Armadillo and Protocol Buffers local versions 2021-03-13 22:30:23 +01:00
Javier Arribas
933d3b3228 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-03-11 10:07:05 +01:00
Carles Fernandez
505142a055
Update local version of Protocol Buffers to v3.15.5 2021-03-09 12:58:21 +01:00
Javier Arribas
ccc41b3851 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-02-24 11:41:34 +01:00
Javier Arribas
56943fc12d Merge with next and enabling KF VTL experimental tracking 2021-02-24 11:41:27 +01:00
Carles Fernandez
d6fd2c244f
Update ProtocolBufferslocal version to 3.15.2 2021-02-24 08:17:27 +01:00
Carles Fernandez
3b10e37a6f
Update Armadillo and ProtocolBuffers local versions 2021-02-22 22:35:45 +01:00
Carles Fernandez
c0796f416d
Update local version of ProtocolBuffers to 3.15.0 2021-02-19 08:45:23 +01:00
Javier Arribas
253b4b9a97 Adding LimeSDR signal source adapter, not usable yet 2021-01-22 17:45:26 +01:00
Carles Fernandez
f75017e520
Fix building when using the Xcode generator, Xcode >= 12 and CMake >= 3.19 2021-01-11 20:22:54 +01: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
87882d3d23
The action continues in the next branch 2021-01-08 12:02:31 +01:00
Carles Fernandez
7102677358
Bump version number 2021-01-07 19:16:54 +01:00
Carles Fernandez
867f53a49e
Update Pugixml local version to 1.11.4 2021-01-04 12:13:45 +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
8ffb379f30
Update local pugixml version to 1.11.2 2020-12-16 10:59:04 +01:00
Carles Fernandez
7c057e5ce4
Fix duplication of local protobuf build tree when installing (Fixes: #451) 2020-12-10 14:48:06 +01:00
Carles Fernandez
4bfc11e0f4
Do not build google benchmarks with gcc 11 until fix 2020-12-08 14:01:52 +01:00
Carles Fernandez
399c559865
Update local version of matio to 1.5.19 and pugixml to 1.11.1 2020-12-07 10:47:34 +01:00
Carles Fernandez
e981b1ea89
Merge branch 'orc' into next 2020-12-02 16:20:32 +01:00
Carles Fernandez
fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +01:00
Carles Fernandez
a538c8c4ee
Update local GPSTk version to v8.0.0, keep compatibilty if v3.0.0 is installed 2020-12-02 14:27:59 +01:00
Carles Fernandez
7fd3df56f7
Update local version of Pugixml to 1.11 2020-11-30 23:08:52 +01:00
Carles Fernandez
93604b8532
Fix building in systems using lib64 2020-11-30 21:13:58 +01:00
Carles Fernandez
1e0e168f14
Fix building in systems using lib64 2020-11-30 19:42:15 +01:00
Carles Fernandez
d193f2914f
Fix building in systems using lib64 2020-11-30 19:01:57 +01:00
Carles Fernandez
9b9a2d20ff
Raise upper CMake version to 3.19 2020-11-22 14:23:35 +01:00
Carles Fernandez
a85e9748c4
Update ProtocolBuffers to 3.14.0 2020-11-14 04:27:46 +01:00
Carles Fernandez
682e71c5a5
Fix pointer to HTML documentation 2020-10-30 12:39:05 +01:00
Carles Fernandez
185a267f9b
Add new building option ENABLE_EXTERNAL_MATHJAX, set to ON by default.
If set to ON, it generates HTML documentation using MathJax from an external CDN when doing 'make doc'. If set to OFF, MathJax is still looked for in the system and used if found, so it can be used offline. If not found, it is not used.
2020-10-30 12:24:23 +01:00
Carles Fernandez
a95ca8c42b
Improved rendering of equations in HTML documentation generated by Doxygen. Make use of MathJax 2.x if found 2020-10-29 19:56:28 +01:00
Carles Fernandez
0c03ac4568
More robust solution for archs not supported by cpu_features 2020-10-28 18:42:17 +01:00
Carles Fernandez
547e6c5624
Fix for s390x arch, since cpu_features does not support it 2020-10-27 10:16:07 +01:00
Carles Fernandez
0cf7f5432b
Update Armadillo version 2020-10-25 13:49:54 +01:00
Carles Fernandez
33cee471f1
Find cpu_features.a file in more distributions. Update Google benchmark to 1.5.2 2020-10-24 10:48:48 +02:00
Carles Fernandez
292d084478
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into cpu-features 2020-10-23 19:50:42 +02:00
Carles Fernandez
1ce0b893e1
Update local matio version to 1.5.18 2020-09-23 17:14:34 +02:00
Carles Fernandez
df2f84dfb0
Improve CUDA handling
Set CMAKE_CUDA_STANDARD to 14, allowing decay to 11 for CUDA 8
CUDA version reported in CMake summary
Add target property CUDA_RESOLVE_DEVICE_SYMBOLS to ON
2020-08-28 12:02:01 +02:00
Carles Fernandez
15428a47cc
Fix building with -DENABLE_CUDA=ON 2020-08-27 14:57:44 +02:00
Carles Fernandez
96f07fa27b
Fix for ninja 2020-08-21 19:11:12 +02:00
Carles Fernandez
d1085af3ac
Activate usage of cpu_features 2020-08-21 16:31:57 +02:00
Carles Fernandez
029782bde1
Fix cmakelint job 2020-08-19 17:24:43 +02:00
Carles Fernandez
25da76d1a2
Fix building with CMake > 3, GCC 8 and old Boost version (e.g. CentOS 7 with cmake3 and gcc8) 2020-08-19 15:24:09 +02:00
Carles Fernandez
d997f7bf56
Update Protocol Buffers version to build if not already installed to v3.13.0 2020-08-16 13:05:37 +02:00
Carles Fernandez
97b7f53f69
Replace git://github.com/gflags/gflags.git by https://github.com/gflags/gflags.git 2020-08-14 01:09:15 +02:00
Carles Fernandez
d4ed61df4b
Improve handling of gflags library
Set minimun gflags version to 2.1.2

Replaced google:: by gflags:: namespace
2020-08-13 20:54:22 +02:00
Carles Fernandez
0f0d7924f4
Add missing symbols 2020-08-09 09:33:29 +02:00
Carles Fernandez
e05f6af601
Buiding fixes
Fixed  building option when gflags is installed and it is older than v2.1.2 (_e.g._, in CentOS 7)

Fixed static linking of the matio library when downloaded and built by CMake
2020-08-09 02:13:32 +02:00
Carles Fernandez
679f5b5408
Action continues at the next branch 2020-07-29 10:49:48 +02:00
Carles Fernandez
2a7731135f
Bump version number to 0.0.13 2020-07-29 08:59:47 +02:00
Carles Fernandez
6395eecf95
Make clear that only internal logging is disabled, not the output products 2020-07-05 12:02:05 +02:00
Carles Fernandez
303e95dd32
Fix the -DENABLE_LOG=OFF building option 2020-07-05 11:53:20 +02:00
Carles Fernandez
1ae4e85dd0
Remove character 2020-07-02 07:08:53 +02:00
Carles Fernandez
ba6ca6801f
Remove character 2020-07-01 23:28:00 +02:00
Carles Fernandez
c46cd87d37
Experiment with transform_reduce 2020-07-01 23:05:33 +02:00
Carles Fernandez
b2fd68fe67
Improve std::plus void detection 2020-06-30 13:41:20 +02:00
Carles Fernandez
f8656ca9d8 Fix for compilers using C++11: the std::plus template without class T specified is only available since C++14 2020-06-29 12:32:35 +02:00
Carles Fernandez
a5aa0d2549
Allow a random name for the build type. If not recognized, it is set to None 2020-06-27 19:51:22 +02:00
Carles Fernandez
c723447c03
Raise maximum CMake version to 3.18 2020-06-24 19:15:09 +02:00
Carles Fernandez
c6c32f64e2
Fix parallel build 2020-06-21 22:19:47 +02:00
Carles Fernandez
753e67bcac
Fix parallel builds 2020-06-21 21:59:05 +02:00
Carles Fernandez
a1b06f747b
Add benchmarks of small code snippets 2020-06-21 21:10:22 +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
405d43866d
Add missing CMake include 2020-06-16 13:07:13 +02:00
Carles Fernandez
771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +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
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
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
e8f8097b04
Avoid using different C++ standard depending on building options 2020-06-11 14:24:12 +02:00
Carles Fernandez
90086f21c5
Allow stripping also with Clang 2020-06-10 23:01:26 +02:00
Carles Fernandez
836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez
029651cbe3
Do not strip volk_gnsssdr binaries if cross-compiling 2020-06-10 13:17:03 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez
7e0502362a
Update Protocol Buffers to 3.12.3 2020-06-07 01:04:02 +02:00
Carles Fernandez
d2e9b0aece
Fix for Boost 1.73 2020-06-06 20:07:00 +02:00
Carles Fernandez
9b15992556
Update local version of Protocol Buffers to 3.12.2 2020-05-27 14:07:40 +02:00
Carles Fernandez
f9acf19fa7
Update Protocol Buffers to 3.12.0 2020-05-16 11:08:01 +02:00
Carles Fernandez
32e6a50b05
Re-enable concepts for Boost Asio in version 1.73 2020-05-15 22:04:32 +02:00
Carles Fernandez
dfd596fca7
Print C and C++ selected standards in the summary report 2020-05-15 11:31:10 +02:00
Carles Fernandez
4dfb93c57b
Fix CMake warnings 2020-05-14 23:17:09 +02:00
Carles Fernandez
5943485a38
Fix building with gcc 10 and Boost 1.72 2020-05-14 22:33:54 +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
057d534354
Fix clause 2020-05-08 00:52:42 +02:00
Carles Fernandez
eaee82280a
Make use of std::span when available 2020-05-07 21:47:45 +02:00
Carles Fernandez
abb6d259f3
Fix linkage of local matio library with HDF5 1.12 2020-05-07 11:16:39 +02:00