This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Apr 08, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Apr 07, 2016
-
-
https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/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>
-
- Apr 06, 2016
-
-
Edward Z. Yang authored
Compute 'UnitId' when we compute a 'ConfiguredPackage'; consequently, we can eliminate 'FakeMap' (finally!) There is one hack remaining, which is that 'SolverInstallPlan' gins up fake unit IDs so that it can be keyed on UnitIds. But this data structure exists only very briefly before being converted into an 'InstallPlan' or 'ElaboratedInstallPlan'. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Currently, dependency solving immediately produces an 'InstallPlan' which is then consumed by cabal install, or elaborated into an 'ElaboratedInstallPlan' for cabal new-build. However, this translation is awkward, because the dependency solver knows nothing about 'UnitId's, yet an 'InstallPlan' must indexed by 'UnitId's. So there's a bit of faffing around to generate a "fake" unit id to satisfy the interface, and then eventually correct it to the right one. So this patch starts moving us in a better direction, by introducing a 'SolverInstallPlan', 'SolverPackage' and 'SolverId', intended to be generated by the solver. Then 'configureInstallPlan' or 'elaborateInstallPlan' elaborate this representation into the representation needed by the destination. The next step will be to generate the 'UnitId' during 'configureInstallPlan', and then we can get rid of the fake map (so only Solver data types generate a fake identity, which is only temporary until we generate 'UnitId's.) Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Apr 05, 2016
-
-
Edsko de Vries authored
Simplify representation of test suites in the solver DSL
-
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
Previously, ReadyPackage was a ConfiguredPackage elaborated with a dependencies data structure which had InstalledPackageInfo rather than ConfiguredId. Well, it turned out that we only used the data from ConfiguredId! So that extra info is useless. Instead, ReadyPackage is now purely a newtype wrapper for type safety; a reminder that not all ConfiguredPackages can be built, only the ready ones. 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
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
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Apr 04, 2016
-
-
Mikhail Glushenkov authored
Limit qualifier depth
-
- Apr 03, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
kristenk authored
This commit removes the 'ExTest' constructor from 'ExampleDependency'. Test dependencies are now represented using the same 'ExampleDependency' constructors as library dependencies. The only difference between dependencies of different components is that they are placed under different keys in 'D.C.ComponentDeps.ComponentDeps'.
-
- Apr 02, 2016
-
-
Mikhail Glushenkov authored
Fix bash-completion after "--"
-
lspitzner authored
#3272 accidentally disabled completions at the start of flags, e.g. on "cabal install --". [CI SKIP]
-
Duncan Coutts authored
Respect "--" in bash-completion, fixes #3271
-
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>
-
lspitzner authored
-
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>
-
- Apr 01, 2016
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
It needs to be done afterwards, because we need to compute the ABI hash as part of registration, which can't be done unless all dependencies are registered, which could include internal libraries. This whole affair is very dodgy. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Convenience libraries can have dependencies declared using build-depends. Unfortunately, these dependencies are special: in particular, the version range is meaningless because they always refer to the same package they were specified in. So, this infelicity means that the solver has to explicitly filter out these internal dependencies. I also had to fix validation to ignore these internal dependencies as well. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
This comment is not yet implemented, will be the subject of later patches. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
This are currently failing because there are bugs which need to be fixed. 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
When converting the component graph to operate in terms of UnitIds instead of CNames I accidentally introduced a regression where we stopped respecting build-tools when determining an ordering to build things. This commit fixes the regression (though perhaps not in the most clean/performant way you could manage it.) It also fixes a latent bug if internal libraries aren't processed in the correct order. 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
In the process, I refactored the test suite a bit to be more robust and handle the --with-compiler more correctly in most cases. One note: I turned off the HPC tests with the GHC and WITH_GHC parameters don't match. In principle this should work but there is some sort of bug. I don't plan on fixing the bug. 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
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Mar 31, 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
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-