Commit Graph

635 Commits

Author SHA1 Message Date
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
Carles Fernandez d5ecb0f861 Improve messages 2019-06-19 12:46:15 +02:00
Carles Fernandez fed2035f1e Fixes in version reporting 2019-06-19 11:59:41 +02:00
Carles Fernandez e6e1fee80a
Print Gflags and Glog version in summary report 2019-06-19 08:42:44 +02:00
Carles Fernandez cee7adec06
Add more saveguards for C++17 2019-06-18 22:41:38 +02:00
Carles Fernandez 8da60d99ad Fix typo 2019-06-18 11:27:35 +02:00
Carles Fernandez 68869d2fec
Add version info of UHD and LIBIIO in summary report 2019-06-18 09:58:00 +02:00
Carles Fernandez cb70b56a13
Add more version numbers to the summary report 2019-06-18 08:59:06 +02:00
Carles Fernandez bb03f80478
Print Boost, Matio and Protocol Buffers found versions in summary report 2019-06-16 23:28:24 +02:00
Carles Fernandez 75d51ab837
Fix typos, improve comments 2019-06-16 09:37:04 +02:00
Carles Fernandez e574ecdccf
Print Armadillo version if found in the summary report 2019-06-16 00:16:52 +02:00
Carles Fernandez e2d583a442
Move definition og GNU Radio imported targets to the custom CMake module 2019-06-15 23:49:24 +02:00
Carles Fernandez 597806ed17
Add Catalina to the list of macOS versions 2019-06-15 22:14:38 +02:00
Carles Fernandez 62280567a6
Allow building glog with clang 2019-06-15 22:01:05 +02:00
Carles Fernandez 6df59ab6b7
Allow building glog with clang and stdc++ 2019-06-15 20:39:06 +02:00
Carles Fernandez ec8f398e59
Set CMAKE_CXX_STANDARD to 20 when available 2019-06-15 10:55:49 +02:00
Carles Fernandez 28907e1c22
hotfix: build with GNU Radio > 3.7.13.4 but < 3.8 2019-06-14 11:21:31 +02:00
Carles Fernandez e285da5899 Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-13 15:33:01 +02:00
Carles Fernandez 8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez 9b98815ff8
Fix wrong expression 2019-06-10 21:53:21 +02:00
Carles Fernandez ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez 37b3d91129
Update local versions: Matio to 1.5.15 and Armadillo to 9.500.x branch 2019-06-02 14:37:27 +02:00
Carles Fernandez c3eeffb1e9
Upgrade protobuf version to be fetched and built if not found to 3.8.0 2019-05-30 15:16:29 +02:00
Carles Fernandez 59494034d8
Better fix for Boost Asio and string_view issue in macOS 2019-05-26 02:09:53 +02:00
Carles Fernandez 01ea7ed831
Improve detecton of Protocol Buffers compiler when cross-compiling 2019-04-30 20:22:10 +02:00
Carles Fernandez 879909861c
Inform about GNU Radio version found in summary 2019-04-27 19:10:38 +02:00
Carles Fernandez c1b48d675a
Improve GNU Radio 3.7 / 3.8 handling 2019-04-27 17:28:49 +02:00
Carles Fernandez e03bed5982
Shorten protobuf description 2019-04-27 12:19:15 +02:00
Carles Fernandez a44c6e8b59
Remove detection of curl since it is not really needed 2019-04-24 01:30:22 +02:00
Carles Fernandez d1331676ea
Improve CMake messages when Protocol Buffers is not found
Fixed building with Ninja when glog, matio or protocol buffers are not found
2019-04-24 00:56:17 +02:00
Carles Fernandez 8ab202b666 Fix detection of Protocol Buffers when using CMake < 3.6 2019-04-23 11:58:18 +02:00
Carles Fernandez 7c581253b6
Improve Protocol Buffers info 2019-04-21 15:44:33 +02:00
Carles Fernandez b3ca9bda99
Improve Protocol Buffers info 2019-04-21 11:51:49 +02:00
Carles Fernandez 1b96e0a81d
Fix for CMake > 3.9 2019-04-21 10:08:39 +02:00
Carles Fernandez f0a9403640
Cross-compilation fixes 2019-04-21 08:33:30 +02:00
Carles Fernandez d6d85aabd5
Fix when an old version of Protocol Buffers is present 2019-04-20 21:57:28 +02:00
Carles Fernandez f436c3d9bd
Improve detection of Protocol Buffers in cross-compilation 2019-04-20 19:11:17 +02:00
Carles Fernandez 96ebeb922d
Improve Protocol Buffers detection in cross-compilation 2019-04-20 18:47:18 +02:00
Carles Fernandez a1dcf035af
Configure Protobuf for cross-compilation 2019-04-20 15:55:46 +02:00
Carles Fernandez 811cdc9693
Use Protocol Buffers for data serialization 2019-04-20 11:52:00 +02:00
Carles Fernandez ae7686d4ad
Fix reading of environment variables 2019-04-02 03:31:46 +02:00
Carles Fernandez 8bce979242
Clean scripts. Prevent in-tree build 2019-04-02 02:41:20 +02:00
Carles Fernandez b0199e1061
Improve style consistency 2019-03-23 14:24:49 +01:00
Carles Fernandez 28ade25157
Improve OpenSSL detection in Homebrew and messages if it fails 2019-03-23 12:57:45 +01:00
Carles Fernandez a94e74def2
Search for generic BLAS and LAPACK implementations 2019-03-23 00:43:01 +01:00
Carles Fernandez 52aa4290d8
Update suggested glog and armadillo versions if built manually 2019-03-22 13:45:52 +01:00
Carles Fernandez cb59c1cc83
Fix bug in MacOS when BeiDou was enabled in rtklib.h
The BLAS and LAPACK implementations that come with the Accelerate Framework (soft-linked in /usr/bin) caused a random crash when exiting the program, only if the variable ENABDS was set. This bug disappears when linking to the libraries that Homebrew or Macports install, or when manually downloaded, built and installed by the user
2019-03-22 11:00:13 +01:00
Carles Fernandez c2917939ba
Update glog vesion to 0.4.0 2019-03-22 09:33:29 +01:00
Carles Fernandez d6e2750fac
Document option 2019-03-17 10:31:17 +01:00
Carles Fernandez 225742c5e9
Update matio version to build if not found to 1.5.14 2019-03-11 21:41:33 +01:00
Carles Fernandez fb5347038d
Fix wrong policy number 2019-03-10 23:07:31 +01:00
Carles Fernandez bbcdf5ed4b
Fix retrieval of Git data 2019-03-10 20:08:49 +01:00
Carles Fernandez 540fd194d5
Fix typo 2019-03-10 05:46:07 +01:00
Carles Fernandez 3e3887742b
Clean file from unused variables, reordering 2019-03-10 05:36:09 +01:00
Carles Fernandez 88507c6af0
Remove unused conditional 2019-03-09 23:48:32 +01:00
Carles Fernandez af49086851
Document Python packages for summary 2019-03-09 19:45:24 +01:00
Carles Fernandez 0c7ec44cdb
Generate CMake summary report 2019-03-09 01:39:32 +01:00
Carles Fernandez d2a3de3c58
Improve compilation options 2019-02-24 20:22:15 +01:00
Carles Fernandez 869aadc731
Pass warning flags only to C++ targets 2019-02-24 19:17:32 +01:00
Carles Fernandez 46f985d763
Fix for CMake < 3.1 2019-02-24 14:35:18 +01:00
Carles Fernandez 88195f40b8
Leave CMAKE_CXX_FLAGS alone 2019-02-24 14:11:21 +01:00
Carles Fernandez a05aa22d39
Fix building of FMCOMMS2 option 2019-02-22 20:54:41 +01:00
Carles Fernandez 9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez 1decfcc488
Remove unused checks 2019-02-18 21:45:12 +01:00
Carles Fernandez b3f1cdb5fc
Rely in CMake fallback for C++ standard 2019-02-18 05:51:25 +01:00
Carles Fernandez 9cdee7ee22
Add C extensions needed by SUPL 2019-02-18 04:58:03 +01:00
Carles Fernandez 0a1df17cca
Fix building in debug mode
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez f4c1fc8b67
Find Apple versions of Blas and Lapack in macOS 2019-02-10 01:14:09 +01:00
Carles Fernandez 8fc749cf72
Workaround of a CMake bug in Debian 8.11 2019-02-07 20:52:24 +01:00