actions.py 670 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import cmaketools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import mesontools
  9. from pisi.actionsapi import get
  10. j = ''.join([
  11. ' -DCMAKE_BUILD_TYPE=Release',
  12. ' -DENABLE_LAPACK=yes',
  13. ' -B_build -G Ninja -L '
  14. ])
  15. def setup():
  16. #shelltools.unlink("CMakeModules/FindZLIB.cmake")
  17. cmaketools.configure(j)
  18. def build():
  19. mesontools.build("-C _build")
  20. def install():
  21. mesontools.install("-C _build")
  22. pisitools.dodoc("authors.txt", "Changes.txt")