PiSDR 4.0 Refresh 1 - Summer Updatetags/v4.0.0-refresh.1
@@ -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 | ||||
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |