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

512 Commits

Author SHA1 Message Date
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
Carles Fernandez
627ab01707
Fix Gtest detection 2019-02-07 19:45:31 +01:00
Carles Fernandez
1738bfd10f Fix building for old CMake versions (<3.1) 2019-02-07 17:27:21 +01:00
Carles Fernandez
aee9decb54 Turn Googletest into a imported target 2019-02-07 17:05:26 +01:00
Carles Fernandez
5519df8924 Fix for CMake < 3.1 2019-02-07 15:21:47 +01:00
Carles Fernandez
97e8d9931e
Make use of Threads::Threads target 2019-02-07 09:28:20 +01:00
Carles Fernandez
2f91717bea
Be more strict in ninimum Boost version 2019-02-05 09:33:14 +01:00
Carles Fernandez
2f23856a8c
Minimum Boost version set to 1.53 (e.g. Centos 7) 2019-02-05 01:56:26 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54 2019-02-05 00:01:04 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
f13b84c86c Add more CMake modernization 2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
999604cd75
Add Boost::atomic target, required by Boost::thread in some configurations (e.g. OpenSUSE) 2019-02-04 08:11:28 +01:00
Carles Fernandez
eb281bcd68
Fix cross-compilation 2019-02-03 21:12:24 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
f3eef2f513
Add modern CMake targets for volk_gnsssdr 2019-01-31 12:12:04 +01:00
Carles Fernandez
b6f0c92fd6
Start next branch from 0.0.10 2018-12-14 19:41:13 +01:00
Carles Fernandez
9e511c90a1
Merge branch 'release_0010' of https://github.com/carlesfernandez/gnss-sdr into release_0010 2018-12-09 09:15:04 +01:00
Carles Fernandez
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-09 01:09:52 +01:00
Carles Fernandez
add5ba8112
Add .clang-tidy file and generate a compile_commands.json file containing the exact compiler calls for all translation units of the project in machine-readable form if clang-tidy is detected 2018-12-08 23:16:10 +01:00
Carles Fernandez
f306da8933
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-01 13:05:27 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
73ece1e533
Uniformize style of CMake modules 2018-11-21 08:28:50 +01:00
Carles Fernandez
f582a5adba
Fix some CMake style issues 2018-11-19 08:51:05 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Carles Fernandez
f7e29209ca
Fix for CentOS 7 2018-11-17 19:36:47 +01:00
Carles Fernandez
30d162c76a
Get rid of deprecated link_libraries() 2018-11-17 19:26:06 +01:00
Carles Fernandez
bec3775f23
Replace CMAKE_COMPILER_IS_GNUCXX by CMAKE_CXX_COMPILER_ID 2018-11-17 14:31:06 +01:00
Carles Fernandez
b9fb38d71e Update gflags version to 2.2.2 2018-11-12 11:03:50 +01:00
Carles Fernandez
f65845f4d6
Create only one folder for PugiXML 2018-11-11 19:19:58 +01:00
Carles Fernandez
a8af1b166f
Fix PugiXML configuration 2018-11-11 12:36:33 +01:00
Carles Fernandez
573092d033
Download and build PugiXML if not found 2018-11-11 12:27:01 +01:00
Carles Fernandez
571c8c67fd
Improve CMake messages 2018-11-10 19:32:45 +01:00
Carles Fernandez
0abb84b9a4
Read Galileo almanac data from XML file in the format provided at https://www.gsc-europa.eu/system-status/almanac-data
Requires PugiXML, feature only available if the library is found on the system at building time
The format detection is transparent to the user. Just configure GNSS-SDR.AGNSS_gal_almanac_xml=./2018-11-06.xml
2018-11-10 19:16:13 +01:00
Carles Fernandez
c124541814
Update Matio version 2018-10-26 17:44:20 +02:00
Carles Fernandez
c6e3dbb929
Replace the deprecated exec_program by execute_process 2018-10-21 11:06:36 +02:00
Carles Fernandez
7b5caca9f8
Detect MacOS Mojave 2018-10-20 19:49:07 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
47a07eaf34
Add more protection for sensitive variables in GitLab 2018-10-04 20:26:40 +02:00
Carles Fernandez
8062a26d38
Safer reading environment 2018-10-04 19:37:11 +02:00
Carles Fernandez
cc5fdf3907
Updated installable version of Armadillo changed to unstable to 9.200.x. Update stable version to 9.100.5 2018-10-03 16:57:06 +02:00
Carles Fernandez
c5727d6302 Update GPSTk version to 2.10.6 2018-09-25 12:32:24 -04:00
Carles Fernandez
a5205c1f71
Add option -DENABLE_UNIT_TESTING_MINIMAL for building on systems with limited memory 2018-09-07 14:36:11 +02:00
Carles Fernandez
2a96397890
Update to Google Test 1.8.1 2018-08-31 21:25:24 +02:00
Carles Fernandez
d8d931feba
Remove outdated tap for homebrew 2018-08-28 20:19:44 +02:00
Carles Fernandez
653a2bfdb8
Add extra build types for debugging 2018-08-16 10:02:51 +02:00
Carles Fernandez
17d4a010e1
Improve Python detection 2018-07-29 20:49:09 +02:00
Carles Fernandez
1e01bc623b
Suggest the right package dependencies for Mako and six modules if python3 is found but the modules are missing 2018-07-27 10:38:32 +02:00
Carles Fernandez
09936dc37d
Allow building in Python3-only environments 2018-07-24 12:01:50 +02:00
Carles Fernandez
a8bd38a6ce
Merge branch 'next' into release_0010 2018-06-15 22:46:41 +02:00
Carles Fernandez
8434cda75d
Update Armadillo repo to its new GitLab home 2018-06-15 21:56:32 +02:00
Carles Fernandez
0c2df93794
Bump version number to 0.0.10 2018-06-08 13:43:50 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Javier Arribas
dfeb62871f Adding optional compilation of the custom UDP packet source. Disabled by default 2018-05-16 11:36:37 +02:00
Javier Arribas
bf7a3f0090 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-16 10:54:27 +02:00
Carles Fernandez
a50b236f36
Fix for automake 1.16 if matio is not found in the system 2018-05-14 20:12:56 +02:00
Carles Fernandez
abb935d9d1 Fix building in openSUSE Tumbleweed
Add detection of aclocal-1.16
2018-05-14 14:42:55 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
4bef320c67
Use https instead of http in links when available 2018-05-13 21:16:09 +02:00
Javier Arribas
bde6bd6cee Replacing GNURadio udp packet source with custom libpcap-based ethernet packet source 2018-05-11 13:21:53 +02:00
Javier Arribas
689fa94774
Merge pull request #148 from antonioramosdet/speed_up_observables
Modify observables history
2018-04-09 16:46:58 +02:00
Carles Fernandez
204aef99d0 Hold back c++17 until GNU Radio allows for it
(already in next, so 3.8 will do)
2018-04-08 23:48:35 +02:00
Carles Fernandez
795ac97e12 Set -std=c++11, -std=c++14 or -std=c++17 where appropriate 2018-04-07 17:03:25 +02:00
Javier Arribas
8e59a42ae2 Merge Next with FPGA. Adding software-defined emulation of the sample counter 2018-04-06 17:03:20 +02:00
Carles Fernandez
7bb4b0e065 Colors for everyone 2018-04-03 23:22:20 +02:00
Carles Fernandez
79f9810bf4 Bump minimum Armadillo version to 5.300 since interp1 is required 2018-04-03 19:17:44 +02:00
Antonio Ramos
ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez
1449d03952 Provide the option to not link against uhd 2018-03-26 19:23:43 +02:00
Antonio Ramos
052751fbae Merge branch 'next' into debug 2018-03-12 11:13:09 +01:00
Carles Fernandez
6a79018d2c Add more verbose messages 2018-03-10 23:00:09 +01:00
Carles Fernandez
65fd1e7e45 Find googletest in OpenSUSE (gtest package) 2018-03-10 10:58:09 +01:00
Javier Arribas
dc4c7b9551 Adding AD9361 fpga signal source 2018-03-02 11:30:36 +01:00
Antonio Ramos
e964bf060f Clean code 2018-02-26 10:40:08 +01:00
Antonio Ramos
4d6aaf43af Merge branch 'next' into fix_observables 2018-02-26 10:12:47 +01:00
Carles Fernandez
bd6d3fcb28 More verbose info when Matio is found but it is too old 2018-02-24 18:28:52 +01:00
Carles Fernandez
24e1a8f0ac Set minimal matio version 2018-02-24 18:01:10 +01:00
Carles Fernandez
30451e95f3 Fix detection of aclocal 2018-02-24 01:15:07 +01:00
Carles Fernandez
59e49a5eba Fix configuration and building when matio is not present 2018-02-23 23:46:16 +01:00
Carles Fernandez
8518b44da5 Fix detection of aclocal in CentOS 7 2018-02-23 22:16:20 +01:00
Antonio Ramos
5cba843eaa Add colors to display 2018-02-23 16:17:51 +01:00
Carles Fernandez
9672f34d71 Make comments nicer 2018-02-10 14:35:42 +01:00
Carles Fernandez
2a811e96b7 Get rid of program_options and unit_test_framework boost libraries dependencies 2018-02-09 14:32:13 +01:00
Carles Fernandez
fc2b819109 Fix typo 2018-02-07 18:35:45 +01:00
Carles Fernandez
bc4047bb49 Find googletest package if installed 2018-02-05 19:59:22 +01:00
Carles Fernandez
c17c3a742f Fix Fortify Sources 2018-02-05 15:02:23 +01:00
Carles Fernandez
3be551d9ea Fortify volk-gnss-sdr (required by lintian) 2018-02-05 14:53:07 +01:00
Carles Fernandez
e23dd178d6 Merge branch 'new_acq_grid' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-new_acq_grid 2018-01-31 15:15:43 +01:00
Carles Fernandez
04a2dd9291 Fix typo: replace lib4cpp by log4cpp 2018-01-31 14:47:33 +01:00
Antonio Ramos
11f332f9d8 Discard changes in CMake regarding Matio min. required version 2018-01-31 12:54:41 +01:00
Antonio Ramos
f8e5b0e705 Set matio min ver. 2018-01-30 16:48:58 +01:00
Carles Fernandez
59d1067d59 Fix parallel building when MATIO is not present.
Fix building with Ninja

Matio is no longer optional but mandatory
2017-11-26 10:49:42 +01:00
Carles Fernandez
7e4c1fb946 Simplify finding of BLAS, LAPACK and GFORTRAN 2017-11-26 01:48:48 +01:00
Carles Fernandez
cbca2399c6 Improve CMake usage for Threads 2017-11-26 00:18:21 +01:00
Carles Fernandez
a212abd62f Fix variable usage 2017-11-25 22:54:56 +01:00
Carles Fernandez
5eaeed73fd Fix cross-compilation 2017-11-25 21:47:39 +01:00
Carles Fernandez
971b6fb03e Fix finding of libraries in GNU/Hurd 2017-11-25 20:09:10 +01:00
Carles Fernandez
16a5f100cb Remove blanks 2017-11-20 11:21:23 +01:00
Carles Fernandez
2f05ba4726 Warn user about lack of hdf5 2017-11-18 01:06:57 +01:00
Carles Fernandez
d4aa35316d Add matio 2017-11-17 21:54:02 +01:00
Carles Fernandez
00e37a83a6 Fix building in Linux 2017-11-17 21:20:56 +01:00
Carles Fernandez
929125cce5 Add matio library and add test case for it 2017-11-17 14:47:50 +01:00
Carles Fernandez
401889da35 Update GPSTk to 2.10
Add more control of installed versions
2017-11-04 19:22:40 +01:00
Carles Fernandez
c70f7b504a Fix RINEX version 2017-10-31 15:40:14 +01:00
Carles Fernandez
cc3ed4c672 Apply project's coding style 2017-10-30 22:31:20 +01:00
Carles Fernandez
f92c910e05 Detect and document macOS High Sierra
Fix old CMAKE flag for Eclipse (from ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT to ECLIPSE_GENERATE_SOURCE_PROJECT)
2017-10-30 20:15:12 +01:00
Carles Fernandez
4e49330ad4 Remove annoying warning in macOS (deprecated-declarations) 2017-08-26 00:22:12 +02:00
Carles Fernandez
16a65a4e2b Fix building when compilers have a C++ standard below C++11 2017-08-23 19:04:11 +02:00
Carles Fernandez
c1e3d1bf9a Fix typo 2017-08-14 13:59:35 +02:00
Carles Fernandez
b9b985a506 Switch to C++14 standard when the compiler allows it 2017-08-08 14:18:19 +02:00
Carles Fernandez
31e3933084 Improve control on minimal required versions 2017-08-07 19:29:05 +02:00
Carles Fernandez
3dd3c2f444 Enable building with Clang in Linux 2017-08-07 11:08:05 +02:00
Carles Fernandez
45ef1db39e Add verbose build for volk_gnsssdr when packaging.
This solves warning
https://qa.debian.org/bls/bytag/W-compiler-flags-hidden.html raised by
blhc
2017-07-23 21:09:41 +02:00
Carles Fernandez
95ee55d34c Update GFlags to version 2.2.1 2017-07-13 17:28:08 +02:00
Carles Fernandez
8316aa6892 Add more consistent messages for Ninja users 2017-07-06 19:29:29 +02:00
Carles Fernandez
2ab963ff49 Add another workaround for CMake < 3.2 2017-06-22 20:59:45 +02:00
Carles Fernandez
caae643462 Workaround for CMake < 3.2 (e.g. Ubuntu 15.04) 2017-06-22 20:17:37 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
1e9ed69ce2 Update Armadillo branch 2017-05-14 18:59:18 +02:00
Carles Fernandez
d40e6e4527 Update glog release to 0.3.5 2017-05-10 08:18:11 +02:00
Carles Fernandez
c9af2b5d02 Fix missing log4cpp linking symbols when GNURADIO_FILTER_LIBRARIES were
built with log4cpp

See https://github.com/gnuradio/gnuradio/issues/1045
2017-04-25 20:08:45 +02:00
Carles Fernandez
4b00d74d1a Allow large files in 32 bit builds
try to fix
https://lintian.debian.org/tags/binary-file-built-without-LFS-support.html
2017-04-14 10:28:57 +02:00
Carles Fernandez
95ffcd3ac0 Improve portability
In some architectures (e.g. alpha, hppa, powerpcspe, m68k,  sh4, sparc64, x32) the package gr-osmosdr is not available. So when the package is build with -DENABLE_OSMOSDR=ON, it breaks on the mentioned architectures. This is expected behaviour (it breaks because a required dependency is not found), but prevents from building the package on such architectures. This commit introduces a small change: when compilation is called with

cmake -DENABLE_OSMOSDR=ON -DENABLE_PACKAGING=ON ..

then, the compilation does not break if gr-osmosdr is not found.

This commit also fixes building when UHD is present but gnuradio-uhd is not (for instance, in hurd-i386)
2017-04-12 18:06:04 +02:00
Carles Fernandez
80f985789b Add the -std=c++11 compiler flag to Armadillo as suggested in README 2017-04-07 13:22:17 +02:00
Carles Fernandez
eb852cf6ad Keep Armadillo's source tree clean 2017-04-07 12:29:50 +02:00