Skip to content

Commit

Permalink
Add configuration options related to Abseil
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Apr 29, 2024
1 parent 8e625a5 commit c9f849f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _posts/2017-03-07-configuration-options-building-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sidebar:
toc: true
toc_sticky: true
show_date: false
last_modified_at: 2023-01-26T09:17:02+02:00
last_modified_at: 2024-04-29T09:07:02+02:00
---


Expand Down Expand Up @@ -162,7 +162,7 @@ guide to all CMake variables, commands, and properties.
| `-DENABLE_AD9361` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the use of signal source for Analog Devices front-end AD9361 connected directly to an FPGA processor. This option requires [libiio](https://github.com/analogdevicesinc/libiio) >= 0.14 already installed in your system. Specifically, the [`Ad9361_Fpga_Signal_Source`]({{ "/docs/sp-blocks/signal-source/#implementation-plutosdr_signal_source" | relative_url }}) implementation of a [Signal Source]({{ "/docs/sp-blocks/signal-source/" | relative_url }}) block becomes available. |
| `-DENABLE_LIMESDR` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the use of [LimeSDR](https://limemicro.com/products/boards/limesdr/). This option requires [gr-limesdr](https://github.com/myriadrf/gr-limesdr) already installed in your system. Specifically, the [`Limesdr_Signal_Source`]({{ "/docs/sp-blocks/signal-source/#implementation-limesdr_signal_source" | relative_url }}) implementation of a [Signal Source]({{ "/docs/sp-blocks/signal-source/" | relative_url }}) block becomes available. |
| `-DENABLE_RAW_UDP` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the reception of IP frames containing samples in UDP frame encapsulation using a high-performance packet capture library. This option requires [libpcap](https://github.com/the-tcpdump-group/libpcap) already installed in your system. Specifically, the [`Custom_UDP_Signal_Source`]({{ "/docs/sp-blocks/signal-source/#implementation-plutosdr_signal_source" | relative_url }}) implementation of a [Signal Source]({{ "/docs/sp-blocks/signal-source/" | relative_url }}) block becomes available. |
| `-DENABLE_ZMQ` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the reception of sample streams published via [ZeroMQ](https://zeromq.org/). Specifically, the [`ZMQ_Signal_Source`]({{ "/docs/sp-blocks/signal-source/#implementation-zmq_signal_source" | relative_url }}) implementation of a [Signal Source]({{ "/docs/sp-blocks/signal-source/" | relative_url }}) block becomes available. <span style="color:orange">NOTE: This option is only present in the `next` branch of the upstream repository, and it will be available in the next stable release.</span> |
| `-DENABLE_ZMQ` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the reception of sample streams published via [ZeroMQ](https://zeromq.org/). Specifically, the [`ZMQ_Signal_Source`]({{ "/docs/sp-blocks/signal-source/#implementation-zmq_signal_source" | relative_url }}) implementation of a [Signal Source]({{ "/docs/sp-blocks/signal-source/" | relative_url }}) block becomes available. |
| ---------- |

Please note that if you installed GNSS-SDR in Debian or Ubuntu through a .deb
Expand Down Expand Up @@ -193,7 +193,9 @@ package (`sudo apt-get install gnss-sdr`), the option `ENABLE_OSMOSDR` is set to
| `-DENABLE_OWN_ARMADILLO` | `ON` / `OFF` | `OFF` | If set to `ON`, it forces to download, build and link a working version of [Armadillo](https://arma.sourceforge.net/) locally, even if it is already installed. |
| `-DENABLE_ARMA_NO_DEBUG` | `ON` / `OFF` | `OFF` | If set to `ON`, it defines the macro `ARMA_NO_DEBUG`, which disables all run-time checks, such as bounds checking, in the [Armadillo](https://arma.sourceforge.net/) library. This will result in a faster executable. This option is set automatically to `ON` if `ENABLE_PACKAGING` is `ON`. |
| `-DENABLE_OWN_GLOG` | `ON` / `OFF` | `OFF` | If set to `ON`, it forces to download, build and link a working version of [glog](https://github.com/google/glog) locally, even if it is already installed. If [GFlags](https://github.com/gflags/gflags) is not found, it will also download, build and link it. |
| `-DENABLE_LOG` | `ON` / `OFF` | `ON` | If set to `OFF`, it disables runtime logging with [glog](https://github.com/google/glog). This can be useful in storage-limited systems. GNSS-SDR will still produce outputs such as RINEX or KML files. |
| `-DENABLE_GLOG_AND_GFLAGS` | `ON` / `OFF` | `OFF` | If set to `ON`, it forces to use Glog and GFlas, even if a valid version of Abseil is present in the system. <span style="color: orange">This configuration option is only present in the `next` branch of the upstream repository and it will be present in the next stable release.</span> |
| `-DENABLE_OWN_ABSEIL` | `ON` / `OFF` | `OFF` | If set to `ON`, it forces to download, build and link a working version of [Abseil](https://github.com/abseil/abseil-cpp) locally, even if it is already installed. It supersedes `ENABLE_GLOG_AND_GFLAGS` and `ENABLE_OWN_GLOG`. Requires CMake >= 3.24, <span style="color: orange">This configuration option is only present in the `next` branch of the upstream repository and it will be present in the next stable release.</span> |
| `-DENABLE_LOG` | `ON` / `OFF` | `ON` | If set to `OFF`, it disables runtime logging. This can be useful in storage-limited systems. GNSS-SDR will still produce outputs such as RINEX or KML files. |
| `-DENABLE_STRIP` | `ON` / `OFF` | `OFF` | If set to `ON`, it activates the generation of stripped binaries (without debugging information), smaller in size and potentially providing better performance than non-stripped counterparts. Only valid when using the `Release` build mode and `ENABLE_PACKAGING` is set to `OFF`, otherwise ignored. |
| `-DENABLE_CPUFEATURES` | `ON` / `OFF` | `ON` | The building makes use of the `cpu_features` library unless this option is set to `OFF`. |
| ---------- |
Expand All @@ -211,8 +213,8 @@ package (`sudo apt-get install gnss-sdr`), the option `ENABLE_OSMOSDR` is set to
| `-DENABLE_UNIT_TESTING_EXTRA` | `ON` / `OFF` | `OFF` | If set to `ON`, it downloads external raw sample files and other software tools (among them, [GNSSTk](https://github.com/SGL-UT/gnsstk/), if it is not already found in your system), and builds some extra unit tests that are added to the `run_tests` executable. |
| `-DENABLE_SYSTEM_TESTING` | `ON` / `OFF` | `OFF` | If set to `ON`, it builds system tests. The binary `ttff`, a tool for Time-To-First-Fix measurement, is generated at the `gnss-sdr/install` folder, unless otherwise indicated by the `ENABLE_INSTALL_TESTS` option. |
| `-DENABLE_SYSTEM_TESTING_EXTRA` | `ON` / `OFF` | `OFF` | If set to `ON`, it downloads external software tools (among them, [GNSSTk](https://github.com/SGL-UT/gnsstk/), if it is not already found in your system) and builds some extra system tests. The generated binaries are copied to the `gnss-sdr/install` folder, unless otherwise indicated by the `ENABLE_INSTALL_TESTS` option. |
| `-DENABLE_OWN_GPSTK` | ON / OFF | OFF | If set to ON, it forces to download, build and link [GPSTk](https://github.com/SGL-UT/gnsstk/) for system tests, even if it is already installed. This can be useful if you have an old version of GPSTk (older than 2.10) already installed in your system and you do not want to remove it, but you still want the QA code to use a more recent version. <span style="color:orange">NOTE: This option is DEPRECATED in the `next` branch, in favour of `-DENABLE_OWN_GNSSTK`</span>. |
| `-DENABLE_OWN_GNSSTK` | ON / OFF | OFF | If set to ON, it forces to download, build and link [GNSSTk](https://github.com/SGL-UT/gnsstk/) for system tests, even if it is already installed. This can be useful if you have an old version of GPSTk (older than 2.10) already installed in your system and you do not want to remove it, but you still want the QA code to use a recent version. <span style="color:orange">NOTE: This option is only present in the `next` branch of the upstream repository, and it will be available in the next stable release.</span> |
| `-DENABLE_OWN_GPSTK` | `ON` / `OFF` | `OFF` | If set to ON, it forces to download, build and link [GPSTk](https://github.com/SGL-UT/gnsstk/) for system tests, even if it is already installed. This can be useful if you have an old version of GPSTk (older than 2.10) already installed in your system and you do not want to remove it, but you still want the QA code to use a more recent version. NOTE: This option is DEPRECATED, in favour of `-DENABLE_OWN_GNSSTK`. |
| `-DENABLE_OWN_GNSSTK` | `ON` / `OFF` | `OFF` | If set to ON, it forces to download, build and link [GNSSTk](https://github.com/SGL-UT/gnsstk/) for system tests, even if it is already installed. This can be useful if you have an old version of GPSTk (older than 2.10) already installed in your system and you do not want to remove it, but you still want the QA code to use a recent version. |
| `-DENABLE_BENCHMARKS` | `ON` / `OFF` | `OFF` | If set to `ON`, it enables the building of benchmarks for small code snippets, based on the [Benchmark](https://github.com/google/benchmark) library. It requires CMake > 3.5.1. |
| `-DENABLE_INSTALL_TESTS` | `ON` / `OFF` | `OFF` | By default, generated test binaries are not installed system-wide but placed in the local folder `gnss-sdr/install`. If this option is set to `ON`, test binaries and auxiliary files will not be copied to `gnss-sdr/install` but installed in the system path when doing `make install`. |
| ---------- |
Expand Down

0 comments on commit c9f849f

Please sign in to comment.