1. 17 Jul, 2014 1 commit
  2. 10 Jul, 2014 1 commit
  3. 09 Jul, 2014 1 commit
  4. 27 Jun, 2014 1 commit
  5. 18 Jun, 2014 1 commit
  6. 12 Jun, 2014 1 commit
  7. 02 Jun, 2014 1 commit
  8. 13 May, 2014 2 commits
  9. 08 May, 2014 1 commit
  10. 25 Apr, 2014 1 commit
  11. 16 Apr, 2014 1 commit
  12. 10 Apr, 2014 1 commit
  13. 07 Apr, 2014 1 commit
  14. 20 Mar, 2014 1 commit
  15. 19 Mar, 2014 1 commit
  16. 07 Mar, 2014 2 commits
  17. 04 Mar, 2014 2 commits
  18. 25 Feb, 2014 1 commit
  19. 24 Feb, 2014 3 commits
    • 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
      Add configuration options for Haskell compilation variants · 1551758e
      Petr Pudlak authored
      
      
      Previously this was addressed by Makefile variables, which meant that
      it was possible to build the same binary with different compilation
      options without recompiling.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      1551758e
    • Petr Pudlak's avatar
      Configure luxid to run with the same user as masterd · e63e8891
      Petr Pudlak authored
      
      
      Currently masterd and luxid run under separate user accounts, which
      makes it impossible for them to share access to the job queue.
      This patch adds the easiest fix - to configure luxid to run under the
      same user as masterd.
      
      It's open for discussion if we should keep the distinction between luxid
      and masterd users/groups at the code level (constants) as now, or to
      merge these constants together.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      e63e8891
  20. 19 Feb, 2014 1 commit
  21. 14 Feb, 2014 2 commits
  22. 12 Feb, 2014 3 commits
  23. 11 Feb, 2014 1 commit
  24. 10 Feb, 2014 1 commit
  25. 06 Feb, 2014 1 commit
  26. 29 Jan, 2014 1 commit
  27. 27 Jan, 2014 1 commit
  28. 23 Jan, 2014 1 commit
  29. 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
  30. 16 Jan, 2014 1 commit
  31. 13 Jan, 2014 2 commits