This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Sep 11, 2016
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
The 'status' command prints a summary over several aspects of a cabal environment, such as the Cabal and GHC versions, the package and its components, the package-databases, the sandbox etc.
-
Mikhail Glushenkov authored
Nub build targets, prevent duplicate output of component.
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Add the new hackage root keys for distribution with cabal (v2)
-
- Sep 10, 2016
-
-
kristenk authored
Validate InstallPlan in solver quickcheck tests, and update tests to handle executables.
-
kristenk authored
Previously, the tests only evaluated enough of the result to determine whether the solver found an install plan, but that install plan could be invalid.
-
kristenk authored
-
ttuegel authored
Add `reconfigure` command
-
ttuegel authored
[ci skip]
-
ttuegel authored
[ci skip]
-
ttuegel authored
Fixes #2214 by adding a `reconfigure` command and invoking it whenever necessary. The last configure flags used are saved in a version-independent format so it should never be necessary for the user to reconfigure manually.
-
ttuegel authored
-
ttuegel authored
-
Edward Z. Yang authored
@hvr reported that some component names were being reported multiple times: ezyang@sabre:~/Dev/cabal-tmp$ cabal-shake new-build In order, the following will be built (use -v for more details): - Cabal-1.25.0.0 (lib) (file Cabal.cabal changed) - happy-1.19.5 (exe:happy, exe:happy) (dependency rebuilt) This is because a build target was showing up multiple times in the list, which can occur if we simultaneously build-depends and build-tools on the same package. So nub it out. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Herbert Valerio Riedel authored
While at it, I updated a few urls I noticed to be outdated. This is somewhat related to #3791 [skip ci]
-
Mikhail Glushenkov authored
Use platform independant isRelative.
-
- Sep 09, 2016
-
-
Lennart Kolmodin authored
The comment ending in \ turned the subsequent line of code into a comment. This is due to the CPP language extension which is turned on for this module. Thus the 'isAbsolute' function failed to detect absolute file paths on the form of DRIVE:\\PATH.
-
Lennart Kolmodin authored
Move the isAbsolute and isRelative to the Utils module. Use them throughout Cabal instead of the versions System.FilePath.
-
Mikhail Glushenkov authored
Compute profiling/shared based on library deps only.
-
Edward Z. Yang authored
Previously we'd build Cabal and custom setup dependencies with profiling even though it wasn't necessary. Using a refined dependency graph fixes the problem. If looking at a Graph with different set of neighbors becomes a common op, maybe we should add some functions to handle this specific case. Fixes #3789. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Track pkg-config deps in hash, fixes #3493.
-
Edward Z. Yang authored
Change default logfile template to use more unique name
-
- Sep 08, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
The key idea is that we define: type IO a = HasCallStack => Prelude.IO a and voila, call stacks are maintained across all IO! You can look at the stacks using -v"debug +callstack". There are a number of IO functions for which the call stack is never used. They are explicitly annotated using NoCallStackIO. Maybe some day they will use call stacks and we can change their types. Similarly, there are a number of functions which do have type IO, but then suppress the redundant constraint error using "_ = callStack". Maybe some day we will attach call stacks to the exceptions we throw. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
This patch uses CallStack support in GHC 7.10 and GHC 8.0 to make it possible to get stack traces when we log output. This is the bare minimum to make this patch useful: there is plenty of tuning that can be done. For example: * Insertions of withFrozenCallStack can help make the "callsite" output more useful, though be careful, we lose all stack information at that point! * Insertions of 'WithVerbosity', which will let us get deeper stacks (at the moment, they are basically always 1-deep.) Fixes #3768. CC @23Skidoo Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Tested by building glib and eyeballing cabal-hashes.txt. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Lennart Kolmodin authored
We can't use the one from System.FilePath since we don't know if we're dealing with Windows or Posix paths. See comments in code for more detail.
-
Herbert Valerio Riedel authored
Specifically, this changes the default from `.../$pkgid.log` to `.../$compiler/$libname.log`, which avoids logfiles overwriting each other even though theyty refer to different artifacts, as well as aligning the format with `~/.cabal/store`'s structure. This addresses #3807
-
Edward Z. Yang authored
This reverts commit 798470a7.
-
Edward Z. Yang authored
Add support for executables to DSL, and failing test for #3775
-