Browse Source

Fix GNURadio Build

tags/v4.0.0-refresh.1
Luigi Cruz 4 years ago
parent
commit
6223f86897
1 changed files with 18 additions and 1 deletions
  1. +18
    -1
      builder/stage4/05-pisdr-gnuradio/00-run.sh

+ 18
- 1
builder/stage4/05-pisdr-gnuradio/00-run.sh View File

@@ -4,6 +4,22 @@ on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" cd "/home/${FIRST_USER_NAME}/PiSDR/Software"


if [ ! -d "volk" ]; then
git clone --recursive https://github.com/gnuradio/volk.git
fi

cd volk
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -j$(nproc) install
ldconfig
EOF

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "gnuradio" ]; then if [ ! -d "gnuradio" ]; then
git clone --recursive https://github.com/gnuradio/gnuradio.git git clone --recursive https://github.com/gnuradio/gnuradio.git
fi fi
@@ -12,7 +28,8 @@ cd gnuradio
git checkout maint-3.7 git checkout maint-3.7
mkdir -p build mkdir -p build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python ../
cmake -DENABLE_INTERNAL_VOLK=OFF -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python ../
make -j$(nproc) install make -j$(nproc) install
ldconfig ldconfig
EOF EOF


Loading…
Cancel
Save