Changes between Version 18 and Version 19 of User Guide/Disk Images


Ignore:
Timestamp:
May 11, 2020, 12:02:40 AM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • User Guide/Disk Images

    v18 v19  
    160160==== Baseline UHD
    161161Baseline UHD starts from Baseline, then installs UHD3.15 installed from source, and downloads the fpga images with uhd_images_downloader
     162
    162163[[CollapsibleStart(Reference Dockerfile)]]
    163164{{{#!dockerfile
     
    266267[[CollapsibleEnd]]
    267268
    268 ==== Baseline GR
     269==== Baseline GnuRadio
     270
     271Baseline GnuRadio starts from Baseline_uhd and then builds gnuradio verion 3.8 from source, against the installed UHD version. (Currently 3.15)
     272
     273If you need a different version of UHD or GnuRadio, please build it yourself from the parent image.
     274
     275[[CollapsibleStart(Reference Dockerfile)]]
     276
     277{{{#!dockerfile
     278FROM container_baseline:latest as baseline-gr38
     279ENV DEBIAN_FRONTEND=noninteractive \
     280    TERM=linux
     281
     282RUN dpkg -l | grep uhd
     283
     284RUN add-apt-repository -s ppa:gnuradio/gnuradio-releases && \
     285    add-apt-repository -s ppa:ettusresearch/uhd && \
     286    apt update && \
     287    apt build-dep -qy \
     288        gnuradio
     289
     290ARG GR_VERSION=v3.8.1.0
     291WORKDIR /opt/
     292RUN git clone https://github.com/gnuradio/gnuradio -b $GR_VERSION \
     293    --single-branch --recurse-submodules
     294
     295RUN cd gnuradio && mkdir build && cd build && \
     296cmake .. && make -j24
     297# RUN cd gnuradio/build && make test -j24
     298RUN cd gnuradio/build && make install -j24
     299RUN ldconfig
     300
     301#set envs
     302RUN export "GNURADIO_PREFIX=$(gnuradio-config-info --prefix)" >> /root/.bashrc && \
     303    echo "export PYTHONPATH=$GNURADIO_PREFIX/lib/python3/dist-packages:$GNURADIO_PREFIX/lib/python3/site-packages:$PYTHONPATH" >> /root/.bashrc && \
     304    echo "export LD_LIBRARY_PATH=$GNURADIO_PREFIX/lib:$LD_LIBRARY_PATH" >> /root/.bashrc
     305
     306#remove source
     307RUN rm -rf /opt/gnuradio
     308
     309#clean up
     310RUN rm -f /etc/apt/apt.conf.d/01proxy && \
     311    rm -rf /var/lib/apt/lists/* && \
     312    apt clean && \
     313    apt autoclean
     314}}}
     315
     316[[CollapsibleEnd]]
     317
     318
    269319
    270320==== Baseline CUDA