-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How should we test cabal-install with internal libraries? #3257
Labels
cabal-install: other
cabal-install: tests/integration-tests
re: internal library
Concerning internal libraries in packages
Comments
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Mar 31, 2016
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 <[email protected]>
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Mar 31, 2016
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 <[email protected]>
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Mar 31, 2016
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 <[email protected]>
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Mar 31, 2016
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 <[email protected]>
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Apr 1, 2016
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 <[email protected]>
ezyang
added a commit
that referenced
this issue
Apr 1, 2016
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 <[email protected]>
ezyang
added a commit
to ezyang/cabal
that referenced
this issue
Apr 1, 2016
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 <[email protected]>
Merged
ezyang
added a commit
that referenced
this issue
Apr 1, 2016
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 <[email protected]>
ulysses4ever
changed the title
Testing plan for cabal-install and convenience libraries
How should we test cabal-install with internal libraries?
Jul 17, 2022
andreasabel
added
the
re: internal library
Concerning internal libraries in packages
label
Feb 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cabal-install: other
cabal-install: tests/integration-tests
re: internal library
Concerning internal libraries in packages
Convenience libraries (#3022) need some integration tests with cabal-install to make sure, e.g., cabal-install's dependency solver and builder can handle them correctly.
In the solver:
Known bugs:
Haddock:
Design changes?
build-depends
, otherwise the dependency solver has to work around them specially, since they never have any sort of valid version range. Alternatives are to have a special syntax for internal dependencies but keep them in build-depends (for example, a special "internal" version range).The text was updated successfully, but these errors were encountered: