1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 07:44:57 +00:00
Commit Graph

785 Commits

Author SHA1 Message Date
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
Carles Fernandez
54de93bdd9
Fix for disappearing branch / version in Armadillo 2020-05-01 22:02:47 +02:00
Carles Fernandez
fbd3485aed
Fix Armadillo flags 2020-04-22 14:44:53 +02:00
Carles Fernandez
2b257f87d7
Set C++ standard to 14 if linking against GPSTk with gcc 2020-04-22 11:09:06 +02:00
Carles Fernandez
b78bbdf555
Update local Armadillo branch to 9.860.x 2020-04-22 04:08:35 +02:00
Carles Fernandez
0bec24e593
Fix Boost detection for volk_gnsssdr in some cross-compilation environments 2020-04-06 20:30:59 +02:00
Carles Fernandez
6da98e3381
Set THIS_IS_A_RELEASE variable to OFF 2020-03-13 12:24:15 +01: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
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
1656463d04
Fix runtime errors if compiling in Debug mode on MacOS
Before this fix, the execution crashed at the first PVT fix computation when compiling with the Debug mode
2020-02-28 22:00:36 +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
14365edde8 Fix optimization flags for Fedora and Gentoo 2020-02-24 11:49:48 +01:00
Carles Fernandez
4eea63326f
Fix -DENABLE_OWN_ARMADILLO option in macOS 2020-02-22 13:47:08 +01:00
Carles Fernandez
49adce12e3
Fix warnings raised by CMake 3.17.0-rc1 2020-02-20 19:51:57 +01:00
Carles Fernandez
3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00
Carles Fernandez
0715fd8e8e
Update Protocol Buffers to 3.11.4 2020-02-16 12:25:27 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
35cd66cb55
Improve documentation for macOS when building Matio and/or ProtocolBuffers from source 2020-02-09 23:29:17 +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
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
ad74472e4d
Fixes in summary reportt 2020-02-03 23:55:53 +01:00
Carles Fernandez
7fe0e400ef
Improve report when cross-compiling 2020-02-03 22:50:56 +01:00
Carles Fernandez
c13c41a1d5
Improve report when cross-compiling 2020-02-03 22:39:52 +01:00
Carles Fernandez
3e0752a88b
Improve OS reporting 2020-02-03 22:11:04 +01:00
Carles Fernandez
e8276c4fc4
Improve summary report 2020-02-03 20:40:10 +01:00
Carles Fernandez
edb23ecc9a Fix typo 2020-02-03 11:59:05 +01:00
Carles Fernandez
a5fe0dab5c
Allow building Matio and Protobuf with Xcode 2020-02-03 08:10:34 +01:00
Carles Fernandez
ef5b392093
Update ProtocolBuffers to 3.11.3 2020-02-03 00:26:39 +01:00
Carles Fernandez
1a573266c1
Enable tree vectorization with GCC in Release and RelWithDebInfo build types 2020-02-02 13:50:39 +01:00
Carles Fernandez
a9fd2a2216
Fix local building of Protobuf when CMake < 3.10 but > 3.6 2020-02-02 13:00:35 +01:00
Carles Fernandez
89541ad09e
Document CMake policy 2020-01-29 00:56:19 +01:00
Carles Fernandez
04b595188f
Fix for old CMake versions 2020-01-29 00:29:09 +01:00
Carles Fernandez
ae9f5fd3d1
Modernize usage of Doxygen and LATEX CMake modules 2020-01-29 00:11:06 +01:00
Carles Fernandez
38527ae263
Allow custom CMake toolchain file when using OpenEmbedded 2020-01-26 14:24:38 +01:00
Carles Fernandez
545267283a
Fix target pdfmanual when using ninja
Fix instructions in Macports, add instructions for Homebrew
2020-01-21 00:31:50 +01:00
Carles Fernandez
d4884ed440
Improve script readability 2020-01-20 00:35:00 +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
7b4523a60d
Fix cross-compilation when not using a toolchain file (Fixes: #350) 2020-01-19 11:42:15 +01:00
Carles Fernandez
b87f8332f9
Pass build type to volk_gnsssdr 2020-01-18 14:23:47 +01:00
Carles Fernandez
3140d86905
Fix cross-compiling in CI 2020-01-13 02:08:50 +01:00
Carles Fernandez
5a737dd329
Fix cross-compiling when a Toolchain file is specified 2020-01-13 01:59:44 +01:00
Carles Fernandez
bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez
eacdce0a50
Add blank line 2019-12-06 21:28:16 +01:00
Carles Fernandez
7e20f2cbb6
Fix for old CMake versions 2019-12-06 19:24:42 +01:00
Carles Fernandez
ac4a79c37a
Fix for old CMake versions 2019-12-06 19:12:36 +01:00
Carles Fernandez
750636c817
Fix for Xcode 2019-12-06 14:36:53 +01:00
Carles Fernandez
3673091a18
Improve support for multi-configuration generators 2019-12-06 14:23:12 +01:00
Carles Fernandez
5a38a55419
Update Protocol Buffers local version to 3.11.1. Update Armadillo version in README to 9.800.3 2019-12-05 17:00:25 +01:00
Carles Fernandez
a9c400355b
Fix local buiding of Armadillo and PugiXML with multi-configuration generators 2019-12-01 18:52:51 +01:00
Carles Fernandez
5cf5c7f0f5
Update newest CMake to 3.16 2019-11-29 19:01:20 +01:00
Carles Fernandez
b4cac7f90c Fix building of glog in old distros 2019-11-28 16:04:21 +01:00