Skip to content
Snippets Groups Projects
  1. Oct 20, 2011
  2. Oct 17, 2011
  3. Oct 14, 2011
  4. Oct 12, 2011
  5. Oct 04, 2011
  6. Oct 03, 2011
  7. Sep 26, 2011
  8. Sep 16, 2011
  9. Sep 03, 2011
  10. Aug 30, 2011
  11. Aug 26, 2011
  12. Aug 23, 2011
  13. Aug 19, 2011
  14. Aug 12, 2011
  15. Aug 08, 2011
  16. Aug 05, 2011
  17. Aug 04, 2011
  18. Aug 02, 2011
  19. Jul 29, 2011
  20. Jul 28, 2011
  21. Jul 26, 2011
    • Iustin Pop's avatar
      Fix recompilation of htools on regen-vcs-version · 13aeae6a
      Iustin Pop authored
      
      Currently, most htools code depends on Constants.hs which is generated
      from constants.py and also depends on _autoconf.py. Also, _autoconf.py
      depends on vcs-version, which all together means that when 'make
      regen-vcs-version' is run, for example by ./devel/upload, most of the
      Haskell code needs recompilation.
      
      Since htools already has its 'optimised' vcs-version (and doesn't use
      the _autoconf.VCS_VERSION constants), we can optimise this as follows:
      
      - _autoconf.py doesn't contain the VCS_VERSION anymore, and that is
        instead moved to _vcsversion.py
      - constants.py depends on and imports this new module
      - _autoconf.py doesn't get regenerated at vcs-version changes, but
        only at re-running configure/changing Makefile time
      
      The end result is that only htools/Ganeti/HTools/Version.hs is
      recompiled now, which is a significant speedup (usually < 1 second
      versus 10 seconds previously).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      13aeae6a
  22. Jul 22, 2011
  23. Jul 19, 2011
  24. Jul 15, 2011
  25. Jul 14, 2011
Loading