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

350 Commits

Author SHA1 Message Date
Carles Fernandez
b4ed22ee76 Upgrading Armadillo version. Removed some warnings when building in Release with clang.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@469 64b25241-fba3-4117-9849-534c7e92360d
2013-12-21 11:11:05 +00:00
Carles Fernandez
0d16ac4a69 Fixes bug that made configuration crash when glog and gflags were not installed and the script was run twice before doing 'make'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@468 64b25241-fba3-4117-9849-534c7e92360d
2013-12-20 03:02:47 +00:00
Carles Fernandez
71fcd899a4 Change in cmake scripts that allows 'make' to spawn the provided amount of threads when armadillo, gflags or glog are downloaded and built 'on-the-fly'. Ideally each thread is executed on its own core/CPU, so a multi-core/CPU environment is used to its fullest. This fix allows compilation with e.g. 'make -j4"
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@465 64b25241-fba3-4117-9849-534c7e92360d
2013-12-20 00:11:14 +00:00
Carles Fernandez
a0cda5ae4d Fixing detection of Fedora, LinuxMint and Debian distributions
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@463 64b25241-fba3-4117-9849-534c7e92360d
2013-12-14 14:36:33 +00:00
Carles Fernandez
004495507d Fixing detection of GNU Radio when installed in non-usual locations (e.g. /home/user/target). Now the user can tell cmake where GNU Radio is by 'cmake ../ -DGNURADIO_INSTALL_PREFIX=/home/user/target'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@462 64b25241-fba3-4117-9849-534c7e92360d
2013-12-14 10:23:33 +00:00
Carles Fernandez
173cc13f76 Improving detection of GNU Radio
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@460 64b25241-fba3-4117-9849-534c7e92360d
2013-12-11 23:27:46 +00:00
Carles Fernandez
c89ca38ba4 Fixing detection of gfrontran in Ubuntu 12.04
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@459 64b25241-fba3-4117-9849-534c7e92360d
2013-12-10 22:46:30 +00:00
Carles Fernandez
e06af9f5f1 Improving detection of the operating system version and prettier output when configuring. Improving hints when dependencies are missing according to the OS (yum or apt-get)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@458 64b25241-fba3-4117-9849-534c7e92360d
2013-12-10 20:17:57 +00:00
Carles Fernandez
ba8ebf0522 Fix detecting gfortran
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@457 64b25241-fba3-4117-9849-534c7e92360d
2013-12-05 19:05:54 +00:00
Carles Fernandez
d18b12624f Improving detection of blas, lapack and gfortran, as well as giving hints about how to install them if missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@456 64b25241-fba3-4117-9849-534c7e92360d
2013-12-05 18:36:45 +00:00
Carles Fernandez
e8601cf111 Improving detection of required libraries and giving hints on how to install them: BLAS, LAPACK, gfortran and OpenSSL.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@454 64b25241-fba3-4117-9849-534c7e92360d
2013-11-27 21:11:21 +00:00
Carles Fernandez
669910f6af Improving the way cmake detects GNU Radio. Switching from FindGnuradioXXX() to ConfigGnuradio.cmake. Fixed a typo in README. Tested in Mac OS X 10.9 and Ubuntu 13.10 64 bits, should work on other versions as well.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@442 64b25241-fba3-4117-9849-534c7e92360d
2013-11-13 21:07:33 +00:00
Carles Fernandez
a8619337be Now GNSS-SDR also builds on Mac OS X 10.9 Mavericks using clang++ and libc++. Updated cmake scripts, some modification of code not accepted by clang. Updated README with instructions for Mavericks. Fixed file length computation in 64-bit architectures.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@435 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 10:51:11 +00:00
Carles Fernandez
0f79be7e77 Pass the correct flags to clang++
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@430 64b25241-fba3-4117-9849-534c7e92360d
2013-10-24 22:54:15 +00:00
Carles Fernandez
e23e566f87 Fixes compilation in Mac OS X
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@427 64b25241-fba3-4117-9849-534c7e92360d
2013-10-21 22:27:39 +00:00
Carles Fernandez
256bff8d18 Fixes armadillo building when it is not already installed in the system and has to be linked statically
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@425 64b25241-fba3-4117-9849-534c7e92360d
2013-10-19 13:26:48 +00:00
Carles Fernandez
31f275958c Updated armadillo version to 3.920.2
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@424 64b25241-fba3-4117-9849-534c7e92360d
2013-10-19 12:12:46 +00:00
Carles Fernandez
2972272b3e Fixes compilation issues on Mac OS X. Now it builds successfully against gnuradio installed by Macports and using gcc 4.8. Upgrade version of Gtest. Some fixes and updates in documentation and code cleaning.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@423 64b25241-fba3-4117-9849-534c7e92360d
2013-10-18 18:26:06 +00:00
Luis Esteve
025a24bb20 Last commit from the GSoC 2013 project "Improve the acquisition sensitivity of a GNSS receiver" by Marc Molina.
Added OpenCL Acquisition blocks and tests. 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@420 64b25241-fba3-4117-9849-534c7e92360d
2013-10-01 20:32:04 +00:00
Carles Fernandez
f79c5685c4 Now the gnss_block_factory catches 'cmake .. -DRTLSDR_DRIVER=1' and/or 'cmake .. -DGN3S_DRIVER=1'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@387 64b25241-fba3-4117-9849-534c7e92360d
2013-07-13 11:25:48 +00:00
Carles Fernandez
175c2c3710 adding uninstall target, required by PyBombs for updating the package
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@385 64b25241-fba3-4117-9849-534c7e92360d
2013-07-10 21:07:43 +00:00
Carles Fernandez
4d07911bac Fix GFlags_ROOT_DIR variable
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@375 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 02:47:50 +00:00
Carles Fernandez
5b13435332 small fixes to cmake scripts
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@374 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 02:15:09 +00:00
Javier Arribas
58b280afb6 Switch to GNU Radio 3.7.x API
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@368 64b25241-fba3-4117-9849-534c7e92360d
2013-07-04 13:47:40 +00:00
Javier Arribas
0bf9e44eb4 SUPL assistance support in progress:
- New SUPL parameters available in GNSS-SDR.conf
- Ephemeris assistance for real-time operation is now functional
- SUPL client now stores the received ephemeris in XML file. This file can be loaded on request to enable post-processing SUPL assistance and to enable SUPL assistance without internet connection. -> thowards a complete warm start GNSS-SDR.

BUG FIXES:
- GN3S driver firmware file copy operation in CmakeLists.txt had an error that mismatches the gn3s_firmware.ihx file location and prevents the correct firmware loading for GN3S SiGe USB dongles.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@351 64b25241-fba3-4117-9849-534c7e92360d
2013-03-18 18:27:44 +00:00
Javier Arribas
f6568bd36d Added Secure User Plane Location (SUPL) client library and the associated A-GNSS data structures. The GNSS assistance function is not active yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@344 64b25241-fba3-4117-9849-534c7e92360d
2013-03-14 17:57:50 +00:00
Carles Fernandez
002ade0d9b Updated versions of Armadillo (3.6.2) and glog (0.3.3). Added a documentation page about GNSS signal models. In systems in which pdflatex is not available, doyxgen uses MATHJAX, an open source Javascript display engine that requires internet connection but renders beautiful equations in the HTML docs.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@336 64b25241-fba3-4117-9849-534c7e92360d
2013-02-01 17:47:01 +00:00
Carles Fernandez
00a8007dc3 Adding Mac OS X support. Tested in Mountain Lion.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@333 64b25241-fba3-4117-9849-534c7e92360d
2013-01-27 20:50:38 +00:00
Carles Fernandez
4819285e5c improving GCC flags related to the host processor and moving GNSS_SDR_VERSION definition to a better place.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@328 64b25241-fba3-4117-9849-534c7e92360d
2013-01-24 20:04:39 +00:00
Carles Fernandez
9192696d32 fixed problex detecting GFLAGS shared libraries in Fedora 18 and Debian 6.0.6
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@327 64b25241-fba3-4117-9849-534c7e92360d
2013-01-23 19:32:20 +00:00
Carles Fernandez
414b807f92 Using CMake to set the program version. This is an example of how a CMake variable can be used inside the C++ code without breaking anything.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@326 64b25241-fba3-4117-9849-534c7e92360d
2013-01-22 20:40:25 +00:00
Carles Fernandez
63a8df6c8f now the automatic installation of GNU Radio via the build-gnuradio script is an option. It can be triggered by 'cmake ../ -DINSTALL_GNURADIO=ON', which is a much more elegant solution than before. CMake will inform about this option to users that do not have GNU Radio installed.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@325 64b25241-fba3-4117-9849-534c7e92360d
2013-01-22 19:16:23 +00:00
Carles Fernandez
c8db6f10b3 CMake now launches GNU Radio installation script if gnuradio-core is not detected.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@323 64b25241-fba3-4117-9849-534c7e92360d
2013-01-19 17:10:57 +00:00
Carles Fernandez
a66f4df4bc Improve doxygen handling. Added two new targets: 'make pdfmanual' will create a manual at docs/GNSS-SDR_manual.pdf, and 'make doc-clean' will clean the documentation.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@315 64b25241-fba3-4117-9849-534c7e92360d
2013-01-17 01:47:13 +00:00
Carles Fernandez
3802513c31 Improving doxygen handling
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@313 64b25241-fba3-4117-9849-534c7e92360d
2013-01-15 02:01:28 +00:00
Carles Fernandez
31d742063a Fix Boost version detection
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@310 64b25241-fba3-4117-9849-534c7e92360d
2013-01-12 09:01:02 +00:00
Carles Fernandez
c08e87e8cf Fixes gruel issue
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@309 64b25241-fba3-4117-9849-534c7e92360d
2013-01-11 14:13:07 +00:00
Carles Fernandez
1cb46b2b6f Fix Glog build when gflags is also build within make
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@307 64b25241-fba3-4117-9849-534c7e92360d
2013-01-03 18:50:53 +00:00
Carles Fernandez
e0f577fe98 If Armadillo is not installed in the system, now CMake will download it, patch it in order to make a static library, build it, and link it with the rest of GNSS-SDR.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@306 64b25241-fba3-4117-9849-534c7e92360d
2013-01-03 01:48:34 +00:00
Carles Fernandez
6628e5e2d8 Now gflags and google-glog are downloaded, configured, build and linked automatically when doing "make". Since gflags is a prerequisite for the proper functioning of glog, glog is always built locally when gflags is missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@305 64b25241-fba3-4117-9849-534c7e92360d
2013-01-01 11:24:42 +00:00
Carles Fernandez
74668e14dd Glog is now downloaded, configured, built and linked automatically if it is not found in the host system.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@304 64b25241-fba3-4117-9849-534c7e92360d
2012-12-29 21:07:43 +00:00
Carles Fernandez
a032dfaefd Enabling CTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@301 64b25241-fba3-4117-9849-534c7e92360d
2012-12-28 15:40:03 +00:00
Carles Fernandez
201b446c47 Added build support for the GN3S dongle. If the variable GN3S_DRIVER is set, CMake automatically builds the gr-gn3s project, adds the gn3s_signal_source and links the corresponding library. There is no need to have gr-gn3s already installed.
Example:
$ cd build
$ export GN3S_DRIVER=1
$ cmake ../
$ make
$ make install

The gr-gn3s project can be build and installed independently, for instance for using it as a source block in gnuradio-companion.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@300 64b25241-fba3-4117-9849-534c7e92360d
2012-12-27 21:11:50 +00:00
Carles Fernandez
b52846e7fd Added support for RTL devices. If the variable RTLSDR_DRIVER is set, CMake looks for libosmosdr and gnuradio-osmosdr libraries and compiles the corresponding signal source.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@298 64b25241-fba3-4117-9849-534c7e92360d
2012-12-27 17:09:16 +00:00
Carles Fernandez
7ebebd041e If the GTEST_DIR variable is not set, CMake will automatically download, configure and build Googletest 1.6.0 when building run_tests. Download includes MD5 checksum. The source code will be left under the thirdparty/ folder. All the download and build files will remain under the build/ directory. Since Googletest does not need installation, all the process can be done without root privileges, simply doing 'make'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@297 64b25241-fba3-4117-9849-534c7e92360d
2012-12-26 11:19:57 +00:00
Carles Fernandez
f33a0db34e Enabling run_tests build. If the variable GTEST_DIR exists, it builds the executable run_tests. 'make install' will copy the executable at the install/ folder.
Improved doxygen detection. Now 'make doc' will build the documentation at the docs/ folder if doxygen is available.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@296 64b25241-fba3-4117-9849-534c7e92360d
2012-12-25 10:28:29 +00:00
Carles Fernandez
af68d9e744 Added some notes on what to do for optional drivers
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@294 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 11:42:23 +00:00
Carles Fernandez
c03f73519d Better handling of compiler flags
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@293 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 11:20:23 +00:00
Carles Fernandez
91feed486c Adds support for GPerftools. Add compiler and linker flags only if the library is available.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@292 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 10:21:31 +00:00
Carles Fernandez
c6e974ab21 Starting CMake support. In the root directory of gnss-sdr, type:
$ mkdir build && cd build && cmake ../ && make && make install

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@290 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 02:33:50 +00:00