1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 13:10:35 +00:00
Commit Graph

546 Commits

Author SHA1 Message Date
Carles Fernandez
2445620e76 Changing build type to RelWithDebInfo if ENABLE_GPERFTOOLS option is ON 2014-08-10 20:00:10 +02:00
Carles Fernandez
3257d8cba1 Improving handling of optional processing blocks and linking libraries.
New options ENABLE_GN3S, ENABLE_RTLSDR, ENABLE_OPENCL, ENABLE_ARRAY and
ENABLE_GPERFTOOLS, all set by default to OFF. Users can enable that
features by 'cmake -DENABLE_XXX=ON ../ '. OpenCL is now not used by
default since it was giving problems in some platforms. Old variables
(RTSDR_DRIVER, GN3S_DRIVER, RAW_ARRAY_DRIVER and DISABLE_OPENCL) are
still honored and can be used in the same way, but the new ENABLE_XXX
are recommended for the sake of more uniform naming. Main CMakeFile.txt
has been rearranged, putting options first, then searching for the
required libraries, and then the optional ones. If Gperftools is enabled
and found, binaries are linked to the tcmalloc and profiler libraries,
and using the adequate flags. Fixed building in Mac OSX if Armadillo and
OpenBLAS were not installed in the system.
2014-08-07 21:04:01 +02:00
Carles Fernandez
2fcb2e14e8 Fixing link to OpenBLAS 2014-08-01 13:49:55 +02:00
Carles Fernandez
3e99566dd3 Use OpenBLAS instead of BLAS if available. OpenBLAS is an optimized BLAS
library.
2014-08-01 12:27:11 +02:00
Carles Fernandez
afc7d1c8e3 Updating Armadillo version to 4.320.0 and simplifying the static
building process. No patch is applied to the original CMakeLists.txt
anymore, so next version upgrades should be easier.
2014-08-01 10:52:20 +02:00
Carles Fernandez
6967fc833e Fixes rounding errors in frequency to period conversion that were
causing tracking losses. Bug spotted by Marc Sales.
2014-07-19 19:29:27 +02:00
Carles Fernandez
767a5122d5 Adding Marc Sales to the list of developers 2014-07-19 19:26:46 +02:00
Carles Fernandez
cf652a6eec Update Revision of GPS ICDs 2014-07-05 19:55:09 +02:00
Carles Fernandez
970d1a6f1b Fixing wrong commit 2014-06-30 21:58:03 +02:00
Carles Fernandez
793fbcceb0 Adding Digital Object Identifier (DOI) from zenodo.org, making the code
citable
2014-06-30 21:56:21 +02:00
Carles Fernandez
8dfcc5114c Bumping version number 2014-06-30 20:46:36 +02:00
Carles Fernandez
8531a758ea Includes header files at add_libraries(...), which makes IDEs such as
Xcode to display them
2014-06-28 03:55:57 +02:00
Carles Fernandez
7d9458cfdd Update Armadillo version to 4.300.9 2014-06-26 01:04:41 +02:00
Carles Fernandez
b2f3ecd72e Fixes many warnings in CMake 3.0. When glog or armadillo are present in
the system, glog_RELEASE/armadillo_RELEASE are not defined and several
add_dependencies were adding non-existing targets
(glog-${glog_RELEASE}). This commit creates imported logical targets
when those libraries are already present, so the warnings disappear.
2014-06-20 03:34:19 +02:00
Carles Fernandez
fabf623c43 Require at least Boost 1.45, so boost:filesystem::temp_directory_path()
can be used. It is useful on Mac OS X, where the log folder is not at
/tmp. Boost 1.45 was released on Nov 9th, 2010, so it is unlikely that
any user is using something older.
2014-06-10 00:14:18 +02:00
Carles Fernandez
c85efa7473 Cosmetic changes 2014-06-07 10:23:32 +02:00
Carles Fernandez
b2e85053b4 do not link to blas so armadillo can use the faster openblas if found in
the system
2014-06-07 00:12:50 +02:00
Carles Fernandez
92bf0472de Added requirement of GCC 4.7 or newer 2014-06-01 11:08:10 +02:00
Carles Fernandez
6052bdc0c8 Updating Armadillo version to 4.300.8 2014-06-01 11:02:02 +02:00
Carles Fernandez
c8ee78bea3 Recommend libopenblas-dev package to Ubuntu/Debian users 2014-05-31 12:31:04 +02:00
Carles Fernandez
2a591bf79c Automatic building of Armadillo 3.x if gcc 4.6 was used is no longer
needed, so always download the latest version. Added a flag to compile
it with the same compiler than gnss-sdr is being built.
2014-05-31 11:18:24 +02:00
Carles Fernandez
8f334df645 Added FATAL_ERROR if gcc version is not at least 4.7, providing a
pointer on how to upgrade to Ubuntu 12.04 users
2014-05-30 19:07:01 +02:00
Carles Fernandez
027fcaa5cc Do not force cache of GTEST_DIR_LOCAL so the user can chose either
define it or not from cmake commandline
2014-05-28 22:12:29 +02:00
Carles Fernandez
36a587762b Fixing detection of GTEST_DIR variable when defined with -DGTEST_DIR=... 2014-05-28 22:02:11 +02:00
Carles Fernandez
31b4738d39 Fixing detection of GTEST_DIR environment variable 2014-05-28 20:24:29 +02:00
Carles Fernandez
571248f3f2 Update Armadillo version to 4.300.6 2014-05-25 13:23:54 +02:00
Carles Fernandez
e9ac845084 Fix CMake script for detecting Python 2014-05-25 13:03:50 +02:00
Carles Fernandez
ca4b8e232c Fixes automatic building of GFlags and Glog when clang is used (e.g.
MacOS X)
2014-05-18 12:53:16 +02:00
Carles Fernandez
1518e5ac5d Update Armadillo version and other minor cleaning 2014-05-16 19:16:36 +02:00
Carles Fernandez
f064ce4d4c Fixing an error in a constant value 2014-05-15 01:15:57 +02:00
Carles Fernandez
6f0d018acb Adding Leonardo Tonetto to the list of authors 2014-05-14 01:42:10 +02:00
Carles Fernandez
71109eec9e Changing some logs from ERROR to WARNING 2014-05-14 01:37:47 +02:00
Leonardo Tonetto
51706f715f Write assistance data straight to the maps
Instead of writing the data downloaded from the assistance servers
in the corresponding global queues, write straight to the maps and
have it available immediately.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:36:04 +02:00
Leonardo Tonetto
0fbea1a25c Cleaning for safety
To avoid memory leaks, make sure the supl_ctx_t data structure is
initialized and cleaned as well as the connection is closed with
the server.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:32:38 +02:00
Carles Fernandez
6804f931ed Update Armadillo version to 4.300.2 2014-05-13 01:04:34 +02:00
Carles Fernandez
9a4a3443b2 updating armadillo patch 2014-05-11 22:37:43 +02:00
Carles Fernandez
190afb2c32 Updating armadillo version to 4.300.2 2014-05-11 22:19:53 +02:00
Carles Fernandez
d6d90fe4f4 Gflags and Glog can now be installed via Macports in Mac OS X Mavericks 2014-05-11 22:18:54 +02:00
Carles Fernandez
53b227a0c1 Finding Gflags and Glog if they are installed with Macports. Fixing
problems finding Gperftools libraries
2014-05-11 14:50:57 +02:00
Carles Fernandez
872ed26527 Fixes ugly exit when the ephemeris map from SUPL is empty 2014-05-10 02:20:53 +02:00
Carles Fernandez
825a4fc440 Correction of some misspelling 2014-05-07 23:35:44 +02:00
Carles Fernandez
054608896a Added warning if GCC is older than 4.7. Fixing detection of GTEST_DIR
environment variable
2014-05-07 22:08:41 +02:00
Leonardo Tonetto
7fc58001ec Avoid memory leak
According to the best practices for boost, the shared_ptr constructor
should not be called inside a function call (return in this case).

Ref: http://www.boost.org/doc/libs/1_55_0/libs/smart_ptr/shared_ptr.htm

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:46:42 +02:00
Leonardo Tonetto
20121dcc73 Re-organizing assistance data input and output
Now we are reading the assistance data from xml files if the correct
configuration option is set; defined the name for the xml files as
const inside control_thread.h; and finally moved the manipulation
of these files to the gnss_sdr_supl_client class, not anymore inside
the control_thread.

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:19:26 +02:00
Javier Arribas
eac73b5baa Fixed a bug that prevented the update of all shared map structures
(ephemeris, iono parameters, etc...)
2014-05-06 11:59:48 +02:00
Carles Fernandez
7c0a614ca3 Enjoy GNSS-SDR! 2014-04-27 23:58:32 +02:00
Carles Fernandez
1f44fa4ca0 Fixing link to the documentation page 2014-04-27 23:45:01 +02:00
Carles Fernandez
c2424975a4 adding links 2014-04-27 22:40:51 +02:00
Carles Fernandez
75c2c10e9e adding break lines and html symbols 2014-04-27 22:27:38 +02:00
Carles Fernandez
764d6b920f Fixing ends of line 2014-04-27 22:09:58 +02:00