CPU. This is done by using the -j parameter with the make command. Set
the parameter to the number of available cores. For the Pi 3B+, the CPU
has four cores, so:
make -j4
Ron
On 7/31/19 10:28, Barry Duggan wrote:
> Hi Glen,
>
> With the help of many of our friends here, I was able to build 3.8
> from scratch on a Pi 3B+. Here are my notes from that effort:
>
> Build gnuradio on Raspberry Pi 3B+
>
> Author: Barry Duggan
> 31 July 2019
>
> OS: Raspbian Buster with desktop and recommended software
> 32GB microSD
>
> A. Load prerequisites
>
> sudo apt-get update --allow-releaseinfo-change
> sudo apt-get upgrade
> sudo apt-get install git cmake g++ libboost-all-dev libgmp-dev swig
> python3-numpy
> sudo apt-get install python3-mako python3-sphinx python3-lxml doxygen
> libfftw3-dev
> sudo apt-get install libsdl1.2-dev libgsl-dev libqwt-qt5-dev
> libqt5opengl5-dev python3-pyqt5
> sudo apt-get install liblog4cpp5-dev libzmq3-dev python3-yaml
> sudo apt-get install libpthread-stubs0-dev
> sudo pip3 install click-plugins
>
> D. Set up swap file
>
> sudo fallocate -l 2G /swapfile
> sudo chmod 600 /swapfile
> sudo mkswap /swapfile
> sudo swapon /swapfile
>
> - To make this permanent, add this line to /etc/fstab
> /swapfile none swap sw 0 0
>
> C. Clone repository
>
> cd
> git clone --recursive https://github.com/gnuradio/gnuradio.git
>
> D. Build
>
> cd ~/gnuradio
> mkdir build
> cd build
> (this next command is all on one line, starting with cmake and ending
> with ../)
> cmake -DENABLE_GR_UHD=OFF -DCMAKE_INSTALL_PREFIX="/usr/local"
> -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../
> make
> sudo make install
> sudo ldconfig
>
> Of course, if you want UHD, leave out the "-DENABLE_GR_UHD=OFF".
>
> It took about eight hours total.
>
> Good luck! Let me know how it went.
>
> Best wishes,
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment