25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
589 B

  1. ---
  2. - name: Git checkout
  3. git:
  4. repo: "https://github.com/EttusResearch/uhd.git"
  5. dest: "{{ install_dir }}/uhd"
  6. version: UHD-3.15.LTS
  7. recursive: yes
  8. - name: Build
  9. shell: |
  10. set -e
  11. cd {{ install_dir }}/uhd/host
  12. mkdir -p build
  13. cd build
  14. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake ../
  15. ninja install
  16. cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/
  17. uhd_images_downloader
  18. ldconfig
  19. echo "$(pwd)" >> {{ config_dir }}/build.dirs
  20. echo "/etc/udev/rules.d/uhd-usrp.rules" >> {{ config_dir }}/udev.paths