1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00
Commit Graph

761 Commits

Author SHA1 Message Date
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
Carles Fernandez
b8f27d8370 Fix buiding when glog is not present 2019-11-28 15:29:27 +01:00
Carles Fernandez
67e70093c0 Fix Debug building with Ninja 2019-11-28 15:20:57 +01:00
Carles Fernandez
dde7d8f657 Improve Gflags building 2019-11-28 12:29:04 +01:00
Carles Fernandez
0ca8a713f6
Update Proocol Buffers version to 3.11.0 2019-11-26 08:25:17 +01:00
Carles Fernandez
64a1fcafb2
Boost_ADDITIONAL_VERSIONS is deprecated 2019-11-24 21:20:37 +01:00
Carles Fernandez
815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez
eeaecee3b0
Fix for old systems having gflags but not glog 2019-11-12 23:17:22 +01:00
Carles Fernandez
6cadb7f796
Fix for CentOS 7 2019-11-10 23:57:18 +01:00
Carles Fernandez
8adcf7cf0a
Fix building with Debug configurations when gflags or glog are not present 2019-11-10 23:26:03 +01:00
Carles Fernandez
51a24c278b
Fix building when gflags is already installed and glog does not 2019-11-10 20:56:58 +01:00
Carles Fernandez
6271d92f16
Build glog if CMake > 3.0 2019-11-10 19:45:55 +01:00
Carles Fernandez
450714ff8a
If glog is not found, configure it with CMake 2019-11-10 14:32:21 +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
6a21f232ff
Use -faligned-new compiler flag only if needed 2019-11-02 10:22:35 +01:00
Carles Fernandez
681022b9c9
Allow to specify IS_ARM manually 2019-11-01 23:27:10 +01:00
Carles Fernandez
87974a9456
Add compiler flags for clang 2019-11-01 23:05:31 +01:00
Carles Fernandez
75c2dcc929
Remove unused variable 2019-11-01 21:02:43 +01:00
Carles Fernandez
a0da65ed8a
Fix compiler flags when using CMAKE_TOOLCHAIN_FILE in ARM processors 2019-11-01 20:24:39 +01:00
Carles Fernandez
c92e0cb5c0
Add work on compiler flags 2019-11-01 20:16:21 +01:00
Carles Fernandez
8bfc0b8085
Fix compiler flag 2019-11-01 19:35:47 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
6419c879c8 Update ProtocolBuffers version to 3.10.1 2019-10-30 16:47:16 +01:00
Carles Fernandez
f25fa45f21 Now GPSTk supports C++20 2019-10-30 11:50:02 +01:00
Carles Fernandez
75af606c74
Recommend pkg-config, minor editing 2019-10-12 13:23:57 +02:00