discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [VOLK][announcement] VOLK release impeding


From: Glen Langston
Subject: Re: [Discuss-gnuradio] [VOLK][announcement] VOLK release impeding
Date: Wed, 31 Jul 2019 17:44:02 -0400

Hi Ron,

Thanks for the suggestion.  My experience is that the -j4
works for a while on a Raspberry PI 3B+,  but eventually
runs out of memory on some files and the whole PI crashes.

-j4 might work on a 4 GB PI 4 though.

Best regards,

Glen

On Wed, Jul 31, 2019 at 5:30 PM Ron Economos <address@hidden> wrote:
>
> You can reduce build time significantly by using all the cores in your
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]