1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-04 00:56:23 +00:00
Commit Graph

498 Commits

Author SHA1 Message Date
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
Carles Fernandez
a53f3008c2 Delete unnneded copy of Armadillo 2017-04-06 21:40:36 +02:00
Carles Fernandez
73d33640f0 Armadillo has moved to GitHub 2017-04-06 21:16:44 +02:00
Carles Fernandez
dd5a850360 Update Armadillo version to 7.800.2 2017-04-01 12:22:01 +02:00
Carles Fernandez
1f99692393 Disable ORC by default 2017-04-01 11:47:13 +02:00
Carles Fernandez
c12384cce4 Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into
next

# Conflicts:
#	README.md
2017-03-13 21:05:38 +01:00
Carles Fernandez
772c7e8f2f Update Armadillo to 7.800.1
Improve reference info
2017-02-26 00:12:46 +01:00
Carles Fernandez
8927543028 Add option to install tests executables system-wide
-DENABLE_INSTALL_TESTS=ON enables the installation of the tests
executables when doing "sudo make install". If this option is activated,
such executables will not be copied to the gnss-sdr/install folder.
2017-02-17 01:02:07 +01:00
Carles Fernandez
774cca7aff Merge branch 'next_fpga' of https://github.com/gnss-sdr/gnss-sdr into tests-in-fpga 2017-02-15 18:09:13 +01:00
Carles Fernandez
787be70382 Add .git label to version name 2017-02-13 23:10:48 +01:00
mmajoral
d22f4f5f2b Started implementing the code that uses the FPGA HW accelerators and the unit tests. For now the code contains a cloned version of the tracking tests using short complex data types plus a few new class variable definitions 2017-02-13 17:20:49 +01:00
Carles Fernandez
24fb4d75f1 Bump version to 0.0.9 2017-02-05 20:47:57 +01:00
Carles Fernandez
0362476864 Merging gnss-sdr/rinex_fix branch
This commit rewrites the way pseudoranges are computed, now accounting for the receiver clock offset. It also adds more work in the QA code. If extra tests are activated by -DENABLE_UNIT_TESTING_EXTRA=ON or -DENABLE_SYSTEM_TESTING_EXTRA=ON, additional raw data files, a software-defined signal generator and GPSTk 2.9 are downloaded. Many fixes and code refactoring in tracking blocks.
2017-02-03 14:04:13 +01:00
Carles Fernandez
adb088e36c Fix building when Armadillo < 5.300 2017-02-03 12:04:15 +01:00
Carles Fernandez
c11a20520e Add new configuration option ENABLE_UNIT_TESTING_EXTRA
If set to ON, it donwload some raw signal files and add more tests to run_tests.
This allows a smaller source code tarball.
It defaults to OFF
2017-01-28 16:49:46 +01:00