Update local Armadillo version to 12.8.x and instructions in README.md file

This commit is contained in:
Carles Fernandez 2024-03-05 12:56:34 +01:00
parent 2d9bb1b79c
commit b879549748
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 18 additions and 18 deletions

View File

@ -335,7 +335,7 @@ set(GNSSSDR_PYTHON3_MIN_VERSION "3.4")
################################################################################ ################################################################################
# Versions to download and build (but not to install system-wide) if not found # Versions to download and build (but not to install system-wide) if not found
################################################################################ ################################################################################
set(GNSSSDR_ARMADILLO_LOCAL_VERSION "12.6.x") set(GNSSSDR_ARMADILLO_LOCAL_VERSION "12.8.x")
set(GNSSSDR_GFLAGS_LOCAL_VERSION "2.2.2") set(GNSSSDR_GFLAGS_LOCAL_VERSION "2.2.2")
set(GNSSSDR_GLOG_LOCAL_VERSION "0.7.0") set(GNSSSDR_GLOG_LOCAL_VERSION "0.7.0")
set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.26") set(GNSSSDR_MATIO_LOCAL_VERSION "1.5.26")

View File

@ -403,9 +403,9 @@ $ sudo apt-get install libblas-dev liblapack-dev # For Debian/Ubuntu/Linux
$ sudo yum install lapack-devel blas-devel # For Fedora/CentOS/RHEL $ sudo yum install lapack-devel blas-devel # For Fedora/CentOS/RHEL
$ sudo zypper install lapack-devel blas-devel # For OpenSUSE $ sudo zypper install lapack-devel blas-devel # For OpenSUSE
$ sudo pacman -S blas lapack # For Arch Linux $ sudo pacman -S blas lapack # For Arch Linux
$ wget https://sourceforge.net/projects/arma/files/armadillo-12.0.1.tar.xz $ wget https://sourceforge.net/projects/arma/files/armadillo-12.8.1.tar.xz
$ tar xvfz armadillo-12.0.1.tar.xz $ tar xvfz armadillo-12.8.1.tar.xz
$ cd armadillo-12.0.1 $ cd armadillo-12.8.1
$ cmake . $ cmake .
$ make $ make
$ sudo make install $ sudo make install
@ -433,9 +433,9 @@ $ sudo ldconfig
#### Install [Glog](https://github.com/google/glog "Glog's Homepage"), a library that implements application-level logging #### Install [Glog](https://github.com/google/glog "Glog's Homepage"), a library that implements application-level logging
``` ```
$ wget https://github.com/google/glog/archive/v0.6.0.tar.gz $ wget https://github.com/google/glog/archive/v0.7.0.tar.gz
$ tar xvfz v0.6.0.tar.gz $ tar xvfz v0.7.0.tar.gz
$ cd glog-0.6.0 $ cd glog-0.7.0
$ mkdir build && cd build $ mkdir build && cd build
$ cmake .. $ cmake ..
$ make $ make
@ -460,9 +460,9 @@ GNSS-SDR can also work well with
#### Install [Matio](https://github.com/tbeu/matio "Matio's Homepage"), MATLAB MAT file I/O library #### Install [Matio](https://github.com/tbeu/matio "Matio's Homepage"), MATLAB MAT file I/O library
``` ```
$ wget https://github.com/tbeu/matio/releases/download/v1.5.23/matio-1.5.23.tar.gz $ wget https://github.com/tbeu/matio/releases/download/v1.5.26/matio-1.5.26.tar.gz
$ tar xvfz matio-1.5.23.tar.gz $ tar xvfz matio-1.5.26.tar.gz
$ cd matio-1.5.23 $ cd matio-1.5.26
$ ./configure $ ./configure
$ make $ make
$ sudo make install $ sudo make install
@ -489,9 +489,9 @@ For more options, please check the
#### Install [Pugixml](https://pugixml.org/ "Pugixml's Homepage"), a light-weight C++ XML processing library #### Install [Pugixml](https://pugixml.org/ "Pugixml's Homepage"), a light-weight C++ XML processing library
``` ```
$ wget https://github.com/zeux/pugixml/releases/download/v1.13/pugixml-1.13.tar.gz $ wget https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz
$ tar xvfz pugixml-1.13.tar.gz $ tar xvfz pugixml-1.14.tar.gz
$ cd pugixml-1.13 $ cd pugixml-1.14
$ mkdir build && cd build $ mkdir build && cd build
$ cmake .. $ cmake ..
$ make $ make
@ -502,8 +502,8 @@ $ sudo ldconfig
#### Download [GoogleTest](https://github.com/google/googletest "Googletest Homepage") #### Download [GoogleTest](https://github.com/google/googletest "Googletest Homepage")
``` ```
$ wget https://github.com/google/googletest/archive/refs/tags/v1.13.0.zip $ wget https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip
$ unzip v1.13.0.zip $ unzip v1.14.0.zip
``` ```
Please **DO NOT build or install** Google Test. Every user needs to compile Please **DO NOT build or install** Google Test. Every user needs to compile
@ -527,10 +527,10 @@ downloaded resides. Just type in your terminal (or add it to your
`$HOME/.bashrc` file for a permanent solution) the following line: `$HOME/.bashrc` file for a permanent solution) the following line:
``` ```
export GTEST_DIR=/home/username/googletest-1.13.0 export GTEST_DIR=/home/username/googletest-1.14.0
``` ```
changing `/home/username/googletest-1.13.0` by the actual path where you changing `/home/username/googletest-1.14.0` by the actual path where you
unpacked Google Test. If the CMake script does not find that folder, or the unpacked Google Test. If the CMake script does not find that folder, or the
environment variable is not defined, or the source code is not installed by a environment variable is not defined, or the source code is not installed by a
package, then it will download a fresh copy of the Google Test source code and package, then it will download a fresh copy of the Google Test source code and
@ -872,7 +872,7 @@ Install the required dependencies:
``` ```
$ brew update && brew upgrade $ brew update && brew upgrade
$ brew install armadillo cmake hdf5 gflags glog gnuradio libmatio log4cpp \ $ brew install armadillo cmake hdf5 gflags glog gnuradio libmatio log4cpp \
openssl pkg-config protobuf pugixml pyhon-mako openssl pkg-config protobuf pugixml python-mako
$ brew install --cask mactex # when completed, restart Terminal $ brew install --cask mactex # when completed, restart Terminal
$ brew install graphviz doxygen $ brew install graphviz doxygen
``` ```