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

703 Commits

Author SHA1 Message Date
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
Carles Fernandez
5c62b0da4b
Make proper usage of HINTS/PATHS 2019-10-10 20:05:14 +02:00
Carles Fernandez
3f21367587 Fix building in some configurations 2019-10-10 10:40:37 +02:00
Carles Fernandez
b0c00eb5b0
Fix for old versions of libad9361 2019-10-09 22:08:08 +02:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration 2019-10-09 20:50:06 +02:00
Carles Fernandez
c081c2ea57 Add work on FIR configuration 2019-10-09 19:05:31 +02:00
Carles Fernandez
09078b6486 Implement more conf options for AD9361 FIR filters, work in progress 2019-10-08 19:34:18 +02:00
Carles Fernandez
1e0c789c84
Prepare for gr-iio integration into GNU Radio 2019-10-05 21:12:54 +02:00
Carles Fernandez
af2d38bed9
Revert back Armadillo to 9.800.x 2019-10-05 03:32:53 +02:00
Carles Fernandez
933211dcc3
Update Googletest to v1.10.0 2019-10-04 14:46:46 +02:00
Carles Fernandez
3d0ebea471
Update Armadillo version 2019-10-04 12:34:19 +02:00
Carles Fernandez
4c9416e05f Update Protocol Buffers to 3.10.0 2019-10-03 16:41:15 +02:00
Carles Fernandez
3c5f4ca3e4 Use canonical order in CMake modules 2019-09-30 14:58:34 +02:00
Carles Fernandez
879bf2aa25
Bump Protocol Buffers version to 3.9.2
Replace three back-ticks by one in README file
2019-09-28 00:09:42 +02:00
Carles Fernandez
8089c41735
Update PugiXML version to 1.10 2019-09-15 23:22:09 +02:00
Carles Fernandez
476a2a73cf
Improve summary info when using Boost >= 1.71.0 2019-09-08 14:51:19 +02:00
Carles Fernandez
41c25c652a
Fix ENABLE_OWN_ARMADILLO option 2019-09-08 13:56:20 +02:00
Carles Fernandez
69f7601b5c
Set CMAKE_VERBOSE_MAKEFILE=ON when ENABLE_PACKAGING=ON
Try to fix Debian build log warnings
2019-09-07 16:54:02 +02:00
Carles Fernandez
9eb294209a
Allow packaging when gr-iio is not present 2019-09-07 16:41:27 +02:00
Carles Fernandez
f54902389e
Remove unused lines 2019-09-07 15:35:36 +02:00
Carles Fernandez
fd719a85b4
Fix building for CMake 2.8.12 2019-09-07 14:21:15 +02:00
Carles Fernandez
b88d8d9b23
Fix previous commit 2019-09-07 13:39:48 +02:00
Carles Fernandez
d5774b2caa
Fix wrong alias on imported target 2019-09-07 13:35:43 +02:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15 2019-09-07 12:36:19 +02:00
Carles Fernandez
4fe8c078ea
Bump local version of Armadillo to be downloaded and built if not found 2019-09-02 20:17:46 +02:00
Carles Fernandez
dfa8307e81
Add warning flags also for clang 2019-08-23 23:18:40 +02:00
Carles Fernandez
05ec821998
Update GPSTK version to 2.12
Fix ENABLE_OWN_GPSTK option if GPSTK was already found
2019-08-20 23:02:48 +02:00
Carles Fernandez
dc4d54b235
Improve wording 2019-08-12 11:53:53 +02:00
Carles Fernandez
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez
e6700907b4
Detect the Hurd 2019-08-11 14:43:26 +02:00
Carles Fernandez
fe6260df99
Update Protocol Buffers version to be downloaded and built if not found to 3.9.1 2019-08-10 14:27:05 +02:00
Carles Fernandez
75e735043b
The action continues in the next branch 2019-08-04 23:43:52 +02:00
Carles Fernandez
95cc4d7b7a
Remove patch for v0.0.10 2019-08-04 23:15:31 +02:00
Carles Fernandez
1b8d8bfe85
Merge branch 'release0011' 2019-08-04 23:11:32 +02:00
Carles Fernandez
75c71afd30
Merge branch 'next' into release0011 2019-08-04 08:28:19 +02:00
Carles Fernandez
2e93dbe8dc
Make build Reproducible 2019-08-03 20:31:53 +02:00
Carles Fernandez
5ced9d4322
Make build Reproducible 2019-08-03 20:15:49 +02:00
Carles Fernandez
ef90e09a36
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release0011 2019-08-02 15:01:10 +02:00
Carles Fernandez
c79b8ea4f3
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON 2019-08-02 14:52:40 +02:00
Carles Fernandez
f349d7c29b
Bump version to 0.0.11 2019-07-27 13:31:12 +02:00
Carles Fernandez
31b6f9defd
Explicitly set CMake policy CMP0093 to NEW 2019-07-22 14:46:36 +02:00
Carles Fernandez
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Carles Fernandez
7fa7f5f6dc
Update Matio local version 2019-07-18 23:57:12 +02:00
Carles Fernandez
e83f9ad551
Update Armadillo version 2019-07-18 19:36:08 +02:00
Carles Fernandez
82047f5963
Update Protocol Buffers version to build if not found to 3.9.0 2019-07-12 22:00:58 +02:00
Carles Fernandez
04a62b813f
Remove unused CMake modules
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +02:00
Carles Fernandez
b19fad4b63
Minor editing 2019-06-26 23:20:12 +02:00
Carles Fernandez
da02757a07
Minor editing 2019-06-26 21:07:59 +02:00
Carles Fernandez
de619fdd13
Set CMake policies older than 3.14 to NEW is not required anymore 2019-06-26 20:15:15 +02:00
Carles Fernandez
f8d8a59c45 Set known CMake policies to NEW if CMake >= 3.12 2019-06-26 11:18:08 +02:00
Carles Fernandez
8a6621b68c Update Matio version 2019-06-25 12:05:49 +02:00
Carles Fernandez
a4676a53e4
Build custom UDP IP packet source if PCAP is available 2019-06-24 21:40:25 +02:00
Carles Fernandez
16a98cc8c9
Improve usage of FeatureSummary's add_feature_info function 2019-06-24 21:29:35 +02:00
Carles Fernandez
0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +02:00
Carles Fernandez
a2dcf223f0
Create OpenCL imported target 2019-06-24 11:25:18 +02:00
Carles Fernandez
bbe7707282
Improve dependency version identification in CMake modules 2019-06-24 00:24:08 +02:00
Carles Fernandez
12e26fe318
Move package DESCRIPTION and URL data to CMake modules 2019-06-21 02:49:41 +02:00
Carles Fernandez
25154ec066
Add more package version identifications 2019-06-19 23:42:46 +02:00
Carles Fernandez
34a949eb28
Enable RAW_UDP if PCAP is found
Try to get PCAP version
2019-06-19 21:34:23 +02:00