Commit Graph

328 Commits

Author SHA1 Message Date
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
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 71c19cac99 Regroup CMake options for testing
-DENABLE_UNIT_TESTING  (defaults to ON): Builds unit tests
-DENABLE_SYSTEM_TESTING  (defaults to OFF): Builds system tests
-DENABLE_SYSTEM_TESTING_EXTRA (defaults to OFF): Builds extra tools (a
software-defined signal generator and GPSTk) and extra system tests
-DENABLE_OWN_GPSTK (defaults to OFF): forces a local download and builds
GPSTk even if it is already installed in your system.

If ENABLE_SYSTEM_TESTING_EXTRA is set to ON, then ENABLE_SYSTEM_TESTING
is also set to ON automatically.

This commit removes the option ENABLE_SW_GENERATOR
2017-01-10 18:57:38 +01:00
Carles Fernandez e846b31547 Make the bitbake recipe work 2016-12-29 01:15:51 +01:00
Carles Fernandez 03ca18dc50 Remove tabs 2016-12-26 12:42:20 +01:00
Carles Fernandez 4e64ff9e9e Add pointers to Mako and Six websites 2016-12-26 12:27:07 +01:00
Carles Fernandez 0aa8b4e9a7 Add suggestions if python-mako or python-six are not installed 2016-12-26 11:42:38 +01:00
Carles Fernandez 6bac6ece4d Relax version of required python-mako 2016-12-25 20:40:29 +01:00
Carles Fernandez 343410d73b Improve update instructions
Update Armadillo to 7.600.2
2016-12-25 14:46:33 +01:00
Carles Fernandez 61cf9a59f2 Fix bad usage of set 2016-12-20 03:29:40 +01:00
Carles Fernandez 4a02a1d294 Allow building with OpenEmbedded 2016-12-20 02:35:52 +01:00
Carles Fernandez 54bb964a89 Make BLAS and LAPACK not mandatory on ARM devices 2016-12-17 18:54:52 +01:00
Carles Fernandez 70e75a61d7 Update Armadillo version to 7.600.1 2016-12-17 10:34:24 +01:00
Carles Fernandez e56bb77979 Check for boost libraries required for volk_gnsssdr 2016-12-06 14:54:43 +01:00
Carles Fernandez ce4b53ef2d Fix gnutls-openssl detection 2016-11-27 23:51:51 +01:00
Carles Fernandez 37c475a39e Cleaning 2016-11-27 23:47:45 +01:00
Carles Fernandez efd52af2de Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2016-11-27 13:46:54 +01:00
Carles Fernandez c341cc7557 Ensure that libtool and automake are present if glog if built from
source
2016-11-27 13:42:52 +01:00
Carles Fernandez 15358d7b01 Update gflags to 2.2.0 2016-11-25 20:51:56 +01:00
Carles Fernandez c9ba5e8441 Fix detection of pthread in some environments 2016-11-24 19:49:35 +01:00
Carles Fernandez 44b3bb9251 Update Armadillo version to 7.500.2 2016-11-20 12:51:41 +01:00
Carles Fernandez 8c832862c1 Update Armadillo version to 7.500.0 2016-11-06 00:41:21 +01:00
Carles Fernandez 38bf45079f Fix building when gflags is installed in the system but glog is not 2016-11-05 09:20:24 +01:00
Carles Fernandez 805ce850b9 Simplify CMake script 2016-11-04 16:25:34 +01:00
Carles Fernandez cc5cf87477 Fix automatic building of gflags and glog 2016-11-04 12:55:09 +01:00
Carles Fernandez e50d5a60ce Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2016-10-27 09:03:29 +02:00
Carles Fernandez ae146e8323 Remove unrequired flag 2016-10-27 08:24:42 +02:00
Carles Fernandez 5dede688ea Set CMAKE_PREFIX_PATH when usign PyBOMBS or snap packages 2016-10-25 13:01:20 +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 fa45de56a6 Disable default building of system tests 2016-10-03 00:09:49 +02:00
Carles Fernandez 896ae47439 Trigger a building test 2016-10-02 23:32:45 +02:00
Carles Fernandez ff4c323b01 Add options to enable/disable building of unit and system testing
Unit Testing is enabled by default. In some memory-constrained
environments it can be useful to disable its building. It can be
disabled by setting -DENABLE_UNIT_TESTING=OFF

System testing is disabled by default. It can be build by setting
-DENABLE_SYSTEM_TESTING=ON
2016-10-02 01:59:12 +02:00
Carles Fernandez baf06a8576 Add macOS Sierra identification 2016-09-21 20:37:52 +02:00
Carles Fernandez b2be3d96c9 Update Armadillo version to 7.400.1 2016-08-20 10:44:19 +02:00
Carles Fernandez e4b0070e9a Add volk_gnsssdr-config-info to the list of generated executables 2016-07-06 20:25:39 +02:00
Carles Fernandez f3df860005 Starting 0.0.8git 2016-07-04 17:39:33 +02:00
Carles Fernandez 6ad7bacba0 Bump version to 0.0.8 2016-07-04 16:55:16 +02:00
Carles Fernandez d92b3598d7 Add option to launch volk_gnssssdr_profile after build 2016-07-02 18:54:39 +02:00
Carles Fernandez a14adfd7dd Build volk_gnsssdr with c11/c++11 standards
and update armadillo version
2016-06-16 21:07:46 +02:00
Carles Fernandez 89933bb68f Update Armadillo version
Starting with 7.100.3, Armadillo is delivered as a .xz file instead of a
.gz. It happens that CMake > 3.1 cannot open .xz files. If CMake is less
than 3.1, it will download the last version of Armadillo that was
delivered as .gz (6.700.7). If CMake is newer than that, it will
download the latest Armadillo version (delivered as .xz, at this moment
7.100.3).
2016-05-25 21:17:43 +02:00
Carles Fernandez 879a1d4d55 Clean Boost detection
And updated info for GNU Radio / PyBOMBS
2016-05-24 17:26:34 +02:00
Carles Fernandez 51e9a3434d Set version to 0.0.7.git-XXXXXX 2016-05-15 22:58:00 +02:00
Carles Fernandez 19f46c2cd9 Bump version number to v0.0.7
preparing v0.0.7 release and minor code cleaning
2016-05-13 19:17:56 +02:00
Carles Fernandez 1133ade4f8 Remove slash 2016-05-12 23:11:51 +02:00
Carles Fernandez 49c8e04d17 Detect gfortran in latest Fedora releases 2016-05-12 23:10:00 +02:00
Carles Fernandez ad209a6958 Update deection of gfortran in Debian-based OS (gcc >= 5) 2016-05-12 20:36:06 +02:00
Carles Fernandez f784c91c05 Move generation of documentation files out from the source tree
Documentation will now be built in the directory from which cmake was
invoked. Doxyfile.in updated and Doxyfile.generic (unused) has been
removed. In-tree generation was causing problems in some environments
and IDEs (such as CLion)
2016-05-12 19:35:55 +02:00
Carles Fernandez 4411af40b3 Updating armadillo version to 6.600.5 2016-03-25 12:22:51 +01:00
Carles Fernandez 8672508e24 Require gr-uhd only if uhd is found 2016-02-02 23:54:48 +01:00
Carles Fernandez 1b7bc5af0c The USRP Hardware Driver (UHD) is now optional.
Used if found.
2016-02-02 23:32:48 +01:00
Carles Fernandez e6bd3907fc update armadillo version to 6.500.4 2016-01-29 09:01:41 +01:00
Carles Fernandez 572d44813f small doc improvement 2016-01-06 11:01:16 +01:00
Carles Fernandez 489a55a76c adding PMT since it is not automatically linked in Linux 2016-01-06 10:16:49 +01:00
Carles Fernandez 14d3c3dd27 cleaning includes and removing gnuradio-trellis and gnuradio-fec
dependencies
2016-01-06 02:05:34 +01:00
Carles Fernandez 23f9b60dd9 update armadillo version 2015-12-27 13:36:05 +01:00
Carles Fernandez 74d42250d8 Merge branch 'contrib' of https://github.com/odrisci/gnss-sdr into
odrisci-contrib

# Conflicts:
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/libs/tracking_discriminators.cc
2015-11-30 10:18:09 +01:00
Cillian O'Driscoll af3d706fd3 Updated info on homebrew install 2015-11-26 15:11:10 +00:00
Carles Fernandez ce1fbb6d9c adding info on ouput formats 2015-11-17 23:19:50 +01:00
Carles Fernandez 2d758a57a3 update Armadillo version to 6.200.2 2015-10-31 17:03:31 +01:00
Carles Fernandez 6e966491a3 improving documentation for Fedora users 2015-10-27 20:39:02 +01:00
Carles Fernandez e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00
Carles Fernandez f37fae6fc8 Fix building on ArchLinux 2015-10-09 08:15:41 +02:00
Carles Fernandez ecc869671b Recommend libgnutls-openssl-dev package 2015-09-15 12:30:18 +02:00
Carles Fernandez 18545077d8 Replacing the usage of OpenSSL by GnuTLS due to a GPL incompatibility
from the former.
2015-09-15 01:41:18 +02:00
Carles Fernandez a6608c47a2 Merge branch 'elcapitan' into next. Now GNSS-SDR can be built on Mac OS X 10.11 El Capitan 2015-09-08 12:06:07 +02:00
Carles Fernandez b81e2a3434 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into elcapitan 2015-09-07 17:19:52 -07:00
Carles Fernandez e843b3121d Identifiying Mac OS X 10.11 El Capitan 2015-09-07 17:16:03 -07:00
Carles Fernandez 77b0bf104d Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2015-09-07 10:46:15 +02:00
Carles Fernandez 5ad8b87f68 Pass C compiler flags to volk_gnsssdr_module. It fixes the lintian
warning 'hardening-no-fortify-functions' when building a .deb package
2015-09-06 17:06:00 +02:00
Carles Fernandez 6b86864c0f Keeping armadillo version up to date 2015-09-03 12:18:58 +02:00
Carles Fernandez f64af5e6ed fixing typo that prevented verification of armadillo download 2015-09-02 18:53:36 +02:00