main.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ---
  2. - name: configure oclfft
  3. command: chdir=/opt/oclfft cmake . -DCMAKE_BUILD_TYPE=Release
  4. notify:
  5. - build oclfft
  6. - name: build oclfft
  7. command: chdir=/opt/oclfft make
  8. notify:
  9. - install oclfft
  10. - name: install oclfft
  11. command: chdir=/opt/oclfft make install
  12. # Configure and build core library
  13. #
  14. - name: configure ufo-core
  15. command: chdir=/opt/ufo-core cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }} -DCMAKE_BUILD_TYPE=Release
  16. notify:
  17. - build ufo-core
  18. - name: build ufo-core
  19. command: chdir=/opt/ufo-core make
  20. notify:
  21. - install ufo-core
  22. - name: install ufo-core
  23. command: chdir=/opt/ufo-core make install
  24. # Build filters
  25. - name: build filters
  26. command: chdir=/opt/{{ item }} make
  27. notify:
  28. - install filters
  29. with_items:
  30. - ufo-filters
  31. - lamino-filters
  32. - name: install filters
  33. command: chdir=/opt/{{ item }} make install
  34. with_items:
  35. - ufo-filters
  36. - lamino-filters
  37. # Build auxiliary things
  38. - name: install ufo-scripts
  39. command: chdir=/opt/ufo-scripts python setup.py install
  40. - name: install ufo-python-tools
  41. command: chdir=/opt/ufo-python-tools python setup.py install
  42. - name: update typelib
  43. file: src=/usr/local/lib/girepository-1.0/Ufo-0.6.typelib
  44. dest=/usr/lib64/girepository-1.0/Ufo-0.6.typelib
  45. state=link