3

After successfully building gnuradio using the build-gnuradio script (Using the build-gnuradio script), is there a way to update and build everything new without starting over?

E.g., some way to do all the right git pulls and build/install everything based on the changed files/dependencies.

rickhg12hs
  • 10,638
  • 6
  • 24
  • 42

2 Answers2

2

I've never used build-gnuradio but it looks like it just does a git clone from the repository. If you go into the gnuradio directory you should just be able to do

git pull
cd build
make
sudo make install

or something along those lines.

Ben Reynwar
  • 1,547
  • 14
  • 21
  • I'd upvote this if I had enough rep. Besides gnuradio there are several other subdirs with .git subdirs. All the Makefiles seem to be in the top subdir of each subsystem so there don't seem to be build dirs. – rickhg12hs May 24 '12 at 07:06
  • My guess would be that for those you just do the 'make' and 'sudo make install' in the top subdir. – Ben Reynwar May 24 '12 at 21:16
  • That's what I've done and it seems to work. I haven't actually done a diff between the "git pull" process and a clean build. Would be interesting to see if there is a difference, or if any differences are significant. Thanks! – rickhg12hs Jun 01 '12 at 21:29
2
git pull
rm -Rf build
mkdir build
cd build
cmake ../
make
sudo make install

This worked for me when updating to 3.6.2