1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00
Commit Graph

675 Commits

Author SHA1 Message Date
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