Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

01_base.yaml 1.0 KiB

4 anos atrás
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. - name: Git checkout libiio
  3. git:
  4. repo: https://github.com/analogdevicesinc/libiio
  5. dest: "{{ install_dir }}/libiio"
  6. version: master
  7. recursive: yes
  8. depth: 1
  9. - name: Build
  10. shell: |
  11. set -e
  12. cd {{ install_dir }}/libiio
  13. mkdir -p build
  14. cd build
  15. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake \
  16. -DINSTALL_UDEV_RULES=ON ../
  17. ninja install
  18. ldconfig
  19. echo "$(pwd)" >> {{ config_dir }}/build.dirs
  20. - name: Git checkout
  21. git:
  22. repo: https://github.com/analogdevicesinc/libad9361-iio
  23. dest: "{{ install_dir }}/libad9361-iio"
  24. version: master
  25. recursive: yes
  26. depth: 1
  27. - name: Build
  28. shell: |
  29. set -e
  30. cd {{ install_dir }}/libad9361-iio
  31. mkdir -p build
  32. cd build
  33. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake ../
  34. ninja install
  35. ldconfig
  36. echo "$(pwd)" >> {{ config_dir }}/build.dirs
  37. - name: Install UDEV Rules
  38. shell: |
  39. echo "/lib/udev/rules.d/90-libiio.rules" >> {{ config_dir }}/udev.paths