Browse Source

Merge pull request #30 from luigifreitas/refresh.1

PiSDR 4.0 Refresh 1 - Summer Update
tags/v4.0.0-refresh.1
Luigi F. Cruz 4 years ago
committed by GitHub
parent
commit
17f9cffece
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 73 deletions
  1. +18
    -1
      builder/stage4/05-pisdr-gnuradio/00-run.sh
  2. +0
    -17
      builder/stage4/12-pisdr-plutosdr/00-run.sh
  3. +0
    -17
      builder/stage4/12-pisdr-plutosdr/01-run.sh
  4. +0
    -17
      builder/stage4/12-pisdr-plutosdr/02-run.sh
  5. +0
    -17
      builder/stage4/12-pisdr-plutosdr/03-run.sh
  6. +2
    -2
      builder/stage4/16-pisdr-sdrangel/00-run.sh
  7. +2
    -2
      builder/stage4/16-pisdr-sdrangel/03-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


+ 0
- 17
builder/stage4/12-pisdr-plutosdr/00-run.sh View File

@@ -1,17 +0,0 @@
#!/bin/bash -e

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

if [ ! -d "libiio" ]; then
git clone https://github.com/analogdevicesinc/libiio
fi

cd libiio
mkdir -p build
cd build
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig
EOF

+ 0
- 17
builder/stage4/12-pisdr-plutosdr/01-run.sh View File

@@ -1,17 +0,0 @@
#!/bin/bash -e

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

if [ ! -d "libad9361-iio" ]; then
git clone https://github.com/analogdevicesinc/libad9361-iio
fi

cd libad9361-iio
mkdir -p build
cd build
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig
EOF

+ 0
- 17
builder/stage4/12-pisdr-plutosdr/02-run.sh View File

@@ -1,17 +0,0 @@
#!/bin/bash -e

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

if [ ! -d "gr-iio" ]; then
git clone https://github.com/analogdevicesinc/gr-iio
fi

cd gr-iio
mkdir -p build
cd build
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig
EOF

+ 0
- 17
builder/stage4/12-pisdr-plutosdr/03-run.sh View File

@@ -1,17 +0,0 @@
#!/bin/bash -e

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

if [ ! -d "SoapyPlutoSDR" ]; then
git clone https://github.com/pothosware/SoapyPlutoSDR.git
fi

cd SoapyPlutoSDR
mkdir -p build
cd build
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig
EOF

+ 2
- 2
builder/stage4/16-pisdr-sdrangel/00-run.sh View File

@@ -9,10 +9,10 @@ if [ ! -d "cm256cc" ]; then
fi fi


cd cm256cc cd cm256cc
git reset --hard f21e8bc1e9afdb0b28672743dcec111aec1d32d9
git reset --hard c0e92b92aca3d1d36c990b642b937c64d363c559
mkdir -p build mkdir -p build
cd build cd build
cmake ../ cmake ../
make -j$(nproc) install make -j$(nproc) install
ldconfig ldconfig
EOF
EOF

+ 2
- 2
builder/stage4/16-pisdr-sdrangel/03-run.sh View File

@@ -9,10 +9,10 @@ if [ ! -d "dsdcc" ]; then
fi fi


cd dsdcc cd dsdcc
git reset --hard "v1.8.6"
git reset --hard "v1.9.0"
mkdir -p build mkdir -p build
cd build cd build
cmake -DUSE_MBELIB=ON ../ cmake -DUSE_MBELIB=ON ../
make -j$(nproc) install make -j$(nproc) install
ldconfig ldconfig
EOF
EOF

Loading…
Cancel
Save