Skip to content
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

Wip/cabal install v3.6.2.0 p2 #2

Open
wants to merge 137 commits into
base: master
Choose a base branch
from

Conversation

hasufell
Copy link
Owner

@hasufell hasufell commented Jan 3, 2024

Backport of haskell#8071

fgaz and others added 30 commits May 4, 2021 09:22
(cherry picked from commit 174673d)
 Fix --only-download making install fail (backport haskell#7378)
Changes the behavior of the following commands under the `--dry-run` and
`--only-download` flags
- `v2-configure` and `v2-freeze` do not write their respective files
- `v2-exec` and `v2-run` do not run the target executable

Adds package tests for the configure and freeze commands.

(cherry picked from previous version of commit 84884bb)
Fixes the bug by accurately tracking when instantiations refer to
inplace packages, and adjusting previously non-inplace packages to be
inplace when this occurs.  See comment in ProjectPlanning.hs for more
details.

Signed-off-by: Edward Z. Yang <[email protected]>
(cherry picked from commit 823e894)
Signed-off-by: Edward Z. Yang <[email protected]>
(cherry picked from commit 2c222b7)
Signed-off-by: Edward Z. Yang <[email protected]>
(cherry picked from commit 8830ab4)
The simple package examples share module names among library and
executable components. To avoid potential confusion these have been
annotated to make it crystal clear the modules do not refer to the same
entities.

[ci skip]

(cherry picked from commit d391bfb)
Use `hs-source-dirs` for the library and change the `other-modules`
names for the executables to avoid confusion.

Lowercase the `main-is` files to make it clear the filename need not be
a module name.

Add dependency on the internal library to the prog2 executable to
showcase common usage.

[ci skip]

(cherry picked from commit 0638a48)
…ack from Hackage with an inplace package)

(cherry picked from commit d3b6372)
(cherry picked from commit 7f13e4d)
Commenting out extraneous version warnings (Backport of haskell#7470)
Backport 3.6: Force cabal to use a build plan where exe:cabal-plan is enabled
(cherry picked from commit 8befafd)
phadej and others added 29 commits October 7, 2021 09:02
Fix haskell#7698: cabal sdist works when extra-packages are present (backport haskell#7699)
* bump cabal-install-3.6.2.0
Use cabal.project.release in gitlab CI
(cherry picked from commit 47c0cbf)

Co-authored-by: Emily Pillmore <[email protected]>
Add changelogs for the three non-internal changes in cabal 3.6.2 (backport haskell#7687)
) (haskell#7722)

(cherry picked from commit c6cbebd)

# Conflicts:
#	changelog.d/issue-4683
#	changelog.d/option-argument-errors
#	changelog.d/pr-7296
#	changelog.d/pr-7358
#	changelog.d/pr-7536

Co-authored-by: Emily Pillmore <[email protected]>
…skell#7730)

(cherry picked from commit 472977e)

# Conflicts:
#	cabal.project.release

Co-authored-by: Emily Pillmore <[email protected]>
As of 9.4, GHC on Windows may produce .o files that are in fact archive
files due to the lack of object merging support in the lld linker (see
GHC #21068). Consequently, we must ensure that `ar` merges input
archives' members, not add them as a single entry.
As noted in GHC #21068, the lld linker used on Windows by GHC 9.4 and later
does not support object merging. Consequently, --enable-library-for-ghci
can no longer be supported on this platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.