1. 10 Jul, 2014 2 commits
  2. 04 Jul, 2014 1 commit
  3. 25 Jun, 2014 1 commit
  4. 12 May, 2014 1 commit
  5. 08 May, 2014 2 commits
  6. 29 Apr, 2014 1 commit
  7. 28 Apr, 2014 1 commit
  8. 17 Apr, 2014 1 commit
  9. 20 Mar, 2014 1 commit
  10. 19 Mar, 2014 1 commit
  11. 27 Feb, 2014 2 commits
  12. 26 Feb, 2014 1 commit
  13. 25 Feb, 2014 1 commit
    • Petr Pudlak's avatar
      A quick fix for broken 'make distcheck' · 5ac4e986
      Petr Pudlak authored
      
      
      The offending target 'test/hs/offline-test.sh' requires the dependencies
      even when the test isn't actually run. This is because currently our
      Makefile doesn't distinguish between prerequisites for building test
      scripts and running them.
      
      This is a quick fix that hides the dependencies if the Haskell tests
      aren't built, but it doesn't address the core problem. This will be
      fixed in a separate patch series.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
      5ac4e986
  14. 24 Feb, 2014 3 commits
    • Petr Pudlak's avatar
      Show Haskell dependencies when compiling · f0ac917e
      Petr Pudlak authored
      
      
      Instead of showing the long GHC command line, show which file is being
      compiled and what its dependencies are. This gives more meaningful
      information to developers.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      f0ac917e
    • Petr Pudlak's avatar
      Compile every Haskell object file separately · 9b6d2d92
      Petr Pudlak authored
      
      
      This allows parallel compilation of all targets, including the Haskell
      object files. While re-starting GHC for every Haskell source almost
      doubles the total CPU time, allowing it run in parallel at the end cuts
      down the wall-clock time to half.
      
      Haskell targets are split into two: main ones and testing ones.
      The testing targets (starting with "test/") are build with coverage
      automatically. Therefore the testing object and interface files have
      different extensions (this also allows their parallel compilation).
      
      GHC is now used to produce a separate Makefile.ghc with all
      dependencies. This is then included and used for compiling each object
      file separately.
      
      Note that the inclusion + generation of Makefile.ghc is turned off when
      calling clean/ganeti/distclean. For some reason, Makefile infinitely
      recurses when calling "make ganeti", if it includes Makefile.ghc. But
      since using ifneq/endif in Makefile.am conflicts with Automake, it was
      necessary to put the snippet into an Automake variable and substitute it
      into the resulting Makefile.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      9b6d2d92
    • Petr Pudlak's avatar
      Fix the generation of ListConstants with VPATH · 06929681
      Petr Pudlak authored
      
      
      When the build directory differs from the source directory, the
      automatic variable '$<' points to the file found by prepending the path.
      This causes double '../' to be inserted when combined with
      '$(abs_top_srcdir)'. This patch fixes this.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      06929681
  15. 12 Feb, 2014 3 commits
  16. 05 Feb, 2014 1 commit
  17. 27 Jan, 2014 2 commits
  18. 22 Jan, 2014 1 commit
  19. 20 Jan, 2014 1 commit
  20. 17 Jan, 2014 1 commit
    • Jose A. Lopes's avatar
      Fix configure dirs · ae6a0a7c
      Jose A. Lopes authored
      
      
      Fix overridable configure directories, namely, --bindir, --sbindir,
      and --mandir.
      
      Variables 'bindir', 'sbindir', and 'mandir' are exported from
      'configure.ac' to 'Makefile.am'. At first, it would seem to be
      possible to do the following:
      
        MANDIR := $(mandir)
        ...
        mandir = $(versionedsharedir)$(datarootdir)/$(MANDIR)
      
      However, this does not work in the output of 'configure' (i.e., the
      'Makefile'), these variables will be reordered:
      
        mandir = $(versionedsharedir)$(datarootdir)/$(MANDIR)
        ...
        MANDIR := $(mandir)
      
      As a result, 'MANDIR' will capture not the exported value from
      'configure.ac' but the 'mandir' defined in the 'Makefile'.
      
      The solution is explicitly export these variables from 'configure.ac'
      with different names, namely, 'BINDIR', 'SBINDIR', and 'MANDIR':
      
        AC_SUBST([BINDIR], $bindir)
        AC_SUBST([SBINDIR], $sbindir)
        AC_SUBST([MANDIR], $mandir)
      
      The rest is just fixing the paths and the symlinks in the 'Makefile'.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      ae6a0a7c
  21. 16 Jan, 2014 1 commit
  22. 13 Jan, 2014 5 commits
  23. 10 Jan, 2014 1 commit
  24. 09 Jan, 2014 3 commits
  25. 20 Dec, 2013 1 commit
  26. 18 Dec, 2013 1 commit