This project is mirrored from Pull mirroring updated .
  1. 05 Nov, 2013 1 commit
  2. 31 Oct, 2013 2 commits
  3. 15 Oct, 2013 1 commit
  4. 13 Oct, 2013 1 commit
  5. 07 Oct, 2013 2 commits
  6. 26 Aug, 2013 4 commits
  7. 25 Aug, 2013 3 commits
    • Herbert Valerio Riedel's avatar
      Add `ghcOptOutputDir` to `GhcOptions` for GHC's `-outputdir` · b2697010
      Herbert Valerio Riedel authored
      The flag `-outputdir` sets `-odir`, `-hidir`, `-stubdir`, and `-dumpdir`.
      Using `-outputdir` has the benefit of redirecting all output files with
      only one flag to a temporary directory.
      Cabal currently only sets the first three but not the `-dumpdir` flag for
      compiling Haskell modules, which clutters the top-level package directory
      and sometimes dump files get overwritten if their names collide for
      different build targets.
      This minimal commit merely adds the `ghcOptOutputDir` flag to the data
      structures and enables its use for the compilation of Haskell modules. A
      later commit may remove the use of the now redundant `ghcOptStubDir` and
      `ghcOptHiDir` flags in favor of the new `ghcOptOutputDir` flag.
      The flag `-outputdir` is available since GHC 6.10; see also
      ghc/ghc@bb074cb7 and
    • Mikhail Glushenkov's avatar
      Comment. · 7a973e54
      Mikhail Glushenkov authored
    • Mikhail Glushenkov's avatar
      Whitespace, 80-col violations. · cf1ccd05
      Mikhail Glushenkov authored
  8. 24 Aug, 2013 1 commit
    • Duncan Coutts's avatar
      Calling ghci also needs the linker options · 730e4c3d
      Duncan Coutts authored
      For a normal compile we do separate invocations of ghc for compiling as
      for linking. But for repl we have to do just the one invocation, so
      that one has to include all the linker stuff too, like -l flags and any
      .o files from C files etc.
      Need to see how .o files from C files works with ghci that uses dynamic
      loading by default.
  9. 12 Aug, 2013 2 commits
  10. 10 Aug, 2013 3 commits
    • Duncan Coutts's avatar
      Take the opportunity to simplify the ghc tool configuration · 1648fa41
      Duncan Coutts authored
      When we configure ghc we have to find a bunch of related tools (like gcc
      on windows). We do that by looking in some extra locations first, and
      that's now simpler to do with the new infrastructure by just tacking an
      extra directory on the front of the search path.
    • Duncan Coutts's avatar
      Add a notion of program search path to the ProgramDb · 84c4ddce
      Duncan Coutts authored
      Previously we would just use the normal system $PATH for finding
      programs (unless the Program provided some custom method). Now the
      ProgramDb has its own notion of the search path and we use that for
      finding programs (by default). The search path can be either specific
      directories or the system search method (ie $PATH on unix and something
      similar on Win32). The default search path is just the system one.
      In addition, this search path is passed on to programs when we invoke
      them as the $PATH env var.
    • Duncan Coutts's avatar
      Allow the Program programPostConf to update all settings, including env · 34a2c8cf
      Duncan Coutts authored
      So rather than only returning the default args it can adjust any of the
      ConfiguredProgram settings, including programDefaultArgs as now but now
      also the programOverrideArgs and the new programOverrideEnv.
  11. 07 Aug, 2013 1 commit
  12. 17 Jul, 2013 1 commit
  13. 12 Jul, 2013 3 commits
  14. 11 Jul, 2013 1 commit
  15. 08 Jul, 2013 2 commits
  16. 17 Jun, 2013 1 commit
  17. 31 May, 2013 1 commit
  18. 14 May, 2013 1 commit
  19. 25 Apr, 2013 3 commits
  20. 24 Apr, 2013 2 commits
    • refold's avatar
      When building libraries, build c-sources separately for profiling. · d148336e
      refold authored
      Fixes #1284.
      There is no need to do this for exes since they are always built in only one
      One downside of this patch is that it increases the compilation time when
      building with '--enable-library-profiling'. An alternative solution would be to
      add a new field (e.g. 'c-sources-ffi') for non-Haskell sources that depend on
      the GHC "way".
    • refold's avatar
      80-col violations. · 3765c779
      refold authored
  21. 22 Apr, 2013 1 commit
  22. 19 Apr, 2013 1 commit
  23. 21 Mar, 2013 2 commits