This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 05 Sep, 2013 2 commits
  2. 03 Sep, 2013 1 commit
  3. 02 Sep, 2013 1 commit
  4. 01 Sep, 2013 1 commit
  5. 31 Aug, 2013 7 commits
  6. 30 Aug, 2013 9 commits
  7. 29 Aug, 2013 3 commits
  8. 27 Aug, 2013 2 commits
  9. 26 Aug, 2013 12 commits
  10. 25 Aug, 2013 2 commits
    • Mikhail Glushenkov's avatar
    • 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
      http://ghc.haskell.org/trac/ghc/ticket/2295
      b2697010