You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
482 B

  1. ---
  2. - name: Git checkout
  3. git:
  4. repo: https://github.com/pothosware/SoapyRTLSDR.git
  5. dest: "{{ install_dir }}/SoapyRTLSDR"
  6. version: master
  7. recursive: yes
  8. depth: 1
  9. - name: Build
  10. shell: |
  11. set -e
  12. cd {{ install_dir }}/SoapyRTLSDR
  13. mkdir -p build
  14. cd build
  15. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake \
  16. -DCMAKE_CXX_FLAGS=-latomic ../
  17. ninja install
  18. ldconfig
  19. echo "$(pwd)" >> {{ config_dir }}/build.dirs