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

325 Commits

Author SHA1 Message Date
Carles Fernandez
a994367f61
Revert "Make CMake module more scalable"
This reverts commit 3f4ecbcc88.
2020-06-10 01:31:06 +02:00
Carles Fernandez
8aae3af4bb
Revert "Make CMake module more scalable"
This reverts commit eba5010baa.
2020-06-10 01:30:50 +02:00
Carles Fernandez
eba5010baa
Make CMake module more scalable 2020-06-10 00:42:33 +02:00
Carles Fernandez
3f4ecbcc88
Make CMake module more scalable 2020-06-09 17:03:15 +02:00
Carles Fernandez
065706cd32
Find libgfortran in OpenSUSE 2020-06-06 21:51:26 +02:00
Carles Fernandez
8ba33a357d
Find libgfortran in OpenSUSE and Fedora 2020-06-06 21:27:25 +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
3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez
964daa97f9
Improve CMake usage 2020-03-01 13:37:03 +01:00
Carles Fernandez
4b3f777425
Add cmake modules to cmakelint job and fix errors 2020-03-01 12:29:21 +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
581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez
49adce12e3
Fix warnings raised by CMake 3.17.0-rc1 2020-02-20 19:51:57 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +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
417eaf4b26
Remove whitespace 2020-02-03 23:31:50 +01:00
Carles Fernandez
3e0752a88b
Improve OS reporting 2020-02-03 22:11:04 +01:00
Carles Fernandez
558f88154a
Replace MacOS by macOS 2020-02-01 14:26:41 +01:00
Carles Fernandez
301f01f9f0
Find gfortran in gcc 10 2020-01-26 22:59:04 +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
0038853c52
Clean CMake files 2019-11-30 20:30:22 +01:00
Carles Fernandez
b552616b99
Find Python 3 with CMake < 3.12 2019-11-30 17:42:44 +01:00
Carles Fernandez
51c8732ff1
Look for python3 in first place even if CMake < 3.12 2019-11-30 14:18:39 +01:00
Carles Fernandez
aa9adf3fd6
Replace deprecated exec_program by execute_process 2019-11-29 13:20:49 +01:00
Carles Fernandez
c88fffc5b2
Fix uninstall target 2019-11-29 13:02:02 +01:00
Carles Fernandez
6fca79ed6d
Add flag for MSVC 2019-11-25 23:04:10 +01:00
Carles Fernandez
815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez
fe4319dadc
Improve comments 2019-11-03 00:55:48 +01:00
Carles Fernandez
d6b4ba4fc3
Detect ARM processors when using clang 2019-11-02 00:12:47 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
ef8c03cd8c
Replace HINTS by PATHS 2019-10-30 21:31:41 +01:00
Carles Fernandez
d14111c85d
Improve license text wording
Fix for AppleClang compiler >= 11
2019-10-30 21:27:57 +01:00
Carles Fernandez
6f278bdf94 Replace HINTS by PATHS 2019-10-30 16:10:22 +01:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration 2019-10-09 20:50:06 +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
3c5f4ca3e4 Use canonical order in CMake modules 2019-09-30 14:58:34 +02:00
Carles Fernandez
f83a6254b0
Add /usr/local/lib64 to LOG4CPP module 2019-09-19 08:33:39 +02:00
Carles Fernandez
ee6e05b4e8 Add Debian GNU/kFreeBSD architecture paths to find dependencies 2019-09-18 13:08:56 +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
66cabb83e5
Find Glog in MacOS when only the static version is installed 2019-08-11 09:12:15 +02:00
Carles Fernandez
b41dacfe7f
Find Debian packages in more architectures: add riscv64 2019-08-10 12:45:40 +02:00
Carles Fernandez
36bf884ae0
Make pkgconfig quiet, avoiding misleading messages 2019-07-26 12:42:17 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
2d276526a8
Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v (Fix) 2019-07-04 08:11:25 +02:00
Carles Fernandez
fd9edf2486
Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v 2019-07-04 08:06:02 +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
52b70af104
Preserve PACKAGE_VERSION variable if it exists 2019-06-27 08:47:09 +02:00
Carles Fernandez
e3f4cbd5d7 Improve consistency in reporting version 2019-06-26 12:39:58 +02:00
Carles Fernandez
9db7a97fab Improve consistency in version reporting 2019-06-25 11:48:00 +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
59281117e9
Search for CMake config 2019-06-24 02:33:53 +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
11ed0d3703 Small fixes in CMake modules 2019-06-20 11:58:50 +02:00
Carles Fernandez
58f8db6080
Fix typo 2019-06-20 08:26:32 +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
434f7d7830
Tell pkg-config to add more paths to its search
Setting PKG_CONFIG_USE_CMAKE_PREFIX_PATH to TRUE. If this variable is not set, this behavior is enabled by default if CMAKE_MINIMUM_REQUIRED_VERSION is 3.1 or later, disabled otherwise. Since our minimum requirement is 2.8.12, we activate it manually.
See https://cmake.org/cmake/help/latest/module/FindPkgConfig.html
2019-06-19 21:01:36 +02:00
Carles Fernandez
c30975064e
Get GPSTK version if found
This can be important in the future since current version is a c++17 blocker
2019-06-19 20:54:45 +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
58cfa744ad
Print more friendly message if optional Pcap library is not found 2019-06-18 22:09:24 +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
32408ef80d
Use pkgconfig info 2019-06-18 09:22:56 +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
e2d583a442
Move definition og GNU Radio imported targets to the custom CMake module 2019-06-15 23:49:24 +02:00
Carles Fernandez
b11e85aa61
Find libgfortran in more environments (including gcc 9.0) 2019-06-15 19:33:00 +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
c9822a435c
Allow volk-gnsssdr to be built with std::experimental::filesystem if found 2019-06-11 22:56:24 +02:00
Carles Fernandez
f1971f0c80
Improve indentation 2019-06-10 22:09:40 +02:00
Carles Fernandez
2d81495508
Add CMake module to detect std::filesystem availability 2019-06-10 21:45:59 +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
f6838a2561
Improve detection of gr-iio 2019-05-26 20:28:53 +02:00
Carles Fernandez
09109b903d
Fix libiio detection in macOS 2019-05-26 20:23:14 +02:00
Carles Fernandez
c1b48d675a
Improve GNU Radio 3.7 / 3.8 handling 2019-04-27 17:28:49 +02:00
Carles Fernandez
9efff7382d
Fix detection of Python modules when using Macports 2019-04-09 00:42:10 +02: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
9ec3a1a1d8
Remove PythonLib package, not needed 2019-03-09 19:44:26 +01:00
Carles Fernandez
0c7ec44cdb
Generate CMake summary report 2019-03-09 01:39:32 +01:00
Carles Fernandez
29cf3ffb60
Fix error in creating imported target 2019-02-08 15:16:39 +01:00
Carles Fernandez
54473809f7
Imported target for GPerftools 2019-02-07 20:31:40 +01:00
Carles Fernandez
83e6ba4269
Find Pugixml library installed with Homebrew 2019-02-05 21:56:40 +01:00
Carles Fernandez
02b5484fd8 Fix Flexiband module 2019-02-05 13:28:58 +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
d6a3ab2f6f
Add Log4cpp::log4cpp imported target 2019-02-04 08:12:25 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
31c6b6bc1d
Update CMake modules 2018-12-14 18:59:36 +01:00
Carles Fernandez
d4680a85cb
Merge next into master for Release v0.0.10 2018-12-14 18:57:28 +01:00
Carles Fernandez
470e2e0372
Recover cmake Modules 2018-12-12 01:37:37 +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
ae5a52b6fa
Apply style rules to CMake scripts 2018-12-01 20:11:17 +01:00
Carles Fernandez
961f8cee1f
Offer a <PACKAGENAME>_ROOT CMake and environment variable as a way to define a base path to find packages 2018-12-01 19:09:44 +01:00
Carles Fernandez
73ece1e533
Uniformize style of CMake modules 2018-11-21 08:28:50 +01:00
Carles Fernandez
8857d3938e
Apply some cleaning 2018-11-18 20:57:21 +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
e7c1a71a5a
Find PugiXML in Fedora 2018-11-11 12:17:37 +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
c6e3dbb929
Replace the deprecated exec_program by execute_process 2018-10-21 11:06:36 +02:00
Javier Arribas
0acfdfc8a6 Fix FindGPSTK cmake module 2018-10-15 11:31:56 +02:00
Carles Fernandez
b1f106be7e
Search for the GNSS-Simulator if already installed 2018-09-17 21:20:39 +02:00
Carles Fernandez
025ea65a3a
Find libgfortran8 2018-09-04 08:13:55 +02:00
Carles Fernandez
47cc0cf7f9
Replace linker flag -Wl by -W in extra build types 2018-08-17 11:14:24 +02:00
Carles Fernandez
653a2bfdb8
Add extra build types for debugging 2018-08-16 10:02:51 +02:00
Carles Fernandez
477967ed32
Python Development component is not needed 2018-07-29 22:45:45 +02:00
Carles Fernandez
17d4a010e1
Improve Python detection 2018-07-29 20:49:09 +02:00
Carles Fernandez
88d2241e09
Fix for Python3 2018-07-27 10:11:22 +02:00
Carles Fernandez
e3cb3d6eb5
Fix building when python3 is present but python3-six and python3-mako are not 2018-07-24 13:48:33 +02:00
Carles Fernandez
09936dc37d
Allow building in Python3-only environments 2018-07-24 12:01: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
Carles Fernandez
87fb81b972
Use https instead of http in links when available. Minor fixes 2018-05-16 20:00:14 +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
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +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
Carles Fernandez
223d6a357b
Add header 2018-04-29 12:02:40 +02:00
Carles Fernandez
6740ac42c8
Fix detection of libiio-dev package 2018-04-14 18:16:38 +02:00
Carles Fernandez
ddb7a6f3e0
Fix detection of libiio package 2018-04-14 17:54:36 +02:00
Carles Fernandez
bce730f68d
Improve finding of gnuradio-iio and libiio libraries 2018-04-14 16:12:21 +02:00
Carles Fernandez
b1695375a8
Improve finding of gnuradio-iio library 2018-04-14 16:04:33 +02:00
Carles Fernandez
b31f929655 Apply clang-format, fix libiio detection in MacOS 2018-03-27 21:10:31 +02:00
Javier Arribas
65713d4c82 Adding support for dual channel in FMCOMMS2 and optional Local Oscillator generation using FMCOMMS2 TX channel 2018-03-27 19:35:53 +02:00
Carles Fernandez
ee18aee92a Fix for gflags 2.0 2018-02-18 22:48:47 +01:00
Carles Fernandez
149ceaa366 Fix compilation in GNU Radio 3.8 2018-02-01 15:15:03 +01:00
Carles Fernandez
7e4c1fb946 Simplify finding of BLAS, LAPACK and GFORTRAN 2017-11-26 01:48:48 +01:00
Carles Fernandez
929125cce5 Add matio library and add test case for it 2017-11-17 14:47:50 +01:00
Carles Fernandez
1630ec2af7 Help find GPSTk if installed 2017-11-11 14:04:57 +01:00
Carles Fernandez
462de44be4 Fix compilation 2017-10-31 13:05:15 +01:00
Carles Fernandez
0054f1c5f8 Fix compilation 2017-10-31 12:45:09 +01: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
d9cc8035cc Nuke CPack
CPack is broken and unmaintained, and we were not using it
2017-01-20 21:26:35 +01:00
Carles Fernandez
80335357a0 Add new system test: obs_gps_l1_system_test
In order to build it, you need to configure CMake as:

$ cmake -DENABLE_SW_GENERATOR=ON -DENABLE_SYSTEM_TESTING=ON ../

The test should work with default parameters. Other parameters are:
--rinex_nav_file=./rinex.17n
--static_position=40.0,2.0,100
--duration=100
2017-01-09 11:36:27 +01:00
Carles Fernandez
9b52403982 Small fixes 2017-01-02 09:59:16 +01:00
Carles Fernandez
166ec3622a Update GPSTk detection 2016-12-30 13:36:28 +01:00
Carles Fernandez
4694dca4f0 Add QA_PYTHON_EXECUTABLE variable 2016-12-26 12:29:05 +01:00
Carles Fernandez
7f329578e9 Add python finder and module checker 2016-12-25 20:42:20 +01:00
Carles Fernandez
ff4a3fb78c Add toolchain file for openembedded 2016-11-24 14:31:05 +01:00
Carles Fernandez
75617798a2 Toolchain file for Zynq-7000 SoCs 2016-11-15 21:19:24 +01:00
Carles Fernandez
041571553f Improve detection of armv8-a processors 2016-11-13 09:40:15 +01:00
Carles Fernandez
8465ea9ed3 Detect aarch64 architecture (e.g. Odroid C2) 2016-11-10 00:16:41 +01:00
Carles Fernandez
4443e2f01c Find dependencies in more architectures 2016-11-05 13:40:44 +01:00
Javier Arribas
5812a66fbf Improving cmake FindGrOsmoSDR module to support user-mode gnuradio installations 2016-10-25 11:22:08 +02:00
Carles Fernandez
85012b3d74 Improve handling of ORC library if present
This also allows to build a snap package
2016-10-23 11:12:13 +02:00
Carles Fernandez
2288fa969a Fix problem with change in VOLK API 2016-06-30 20:43:49 +02:00
Carles Fernandez
782bf70cad Fix typo 2016-06-26 20:59:20 +02:00