Skip to content

Build dynamic sublibraries when needed - #11791

Merged
mergify[bot] merged 1 commit into
haskell:masterfrom
sheaf:T7684
May 17, 2026
Merged

mergify[bot] merged 1 commit into
haskell:masterfrom
sheaf:T7684

Conversation

@sheaf

@sheaf sheaf commented May 6, 2026 •

Copy link
Copy Markdown
Collaborator

Ticket: #7684

When building a package with a sublibrary, Cabal now properly takes into account intra-package dependencies when deciding whether each sublibrary should be built in the dynamic way (e.g. because another library that depends on it uses TemplateHaskell or QuasiQuotes).


Template Α: This PR modifies behaviour or interface

When building a package with a sublibrary, Cabal now properly takes into
account intra-package dependencies when deciding whether each sublibrary
should be built in the dynamic way (e.g. because another library that
depends on it uses TemplateHaskell or QuasiQuotes).

Fixes haskell#7684

@Mikolaj Mikolaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Mikolaj Mikolaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved!

@ulysses4ever

Copy link
Copy Markdown
Collaborator

Ready the for merge label

@sheaf sheaf added the merge me Tell Mergify Bot to merge label May 15, 2026
@mergify mergify Bot added ready and waiting Mergify is waiting out the cooldown period merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days queued labels May 15, 2026
@mergify

mergify Bot commented May 17, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 54 minutes 40 seconds in the queue, including 1 hour 42 minutes 57 seconds running CI.

Required conditions to merge
  • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
  • any of [🛡 GitHub branch protection]:
    • check-success = Doctest Cabal
    • check-neutral = Doctest Cabal
    • check-skipped = Doctest Cabal
  • any of [🛡 GitHub branch protection]:
    • check-success = Meta checks
    • check-neutral = Meta checks
    • check-skipped = Meta checks
  • any of [🛡 GitHub branch protection]:
    • check-success = docs/readthedocs.org:cabal
    • check-neutral = docs/readthedocs.org:cabal
    • check-skipped = docs/readthedocs.org:cabal
  • any of [🛡 GitHub branch protection]:
    • check-success = Validate post job
    • check-neutral = Validate post job
    • check-skipped = Validate post job
  • any of [🛡 GitHub branch protection]:
    • check-success = fourmolu
    • check-neutral = fourmolu
    • check-skipped = fourmolu
  • any of [🛡 GitHub branch protection]:
    • check-success = hlint
    • check-neutral = hlint
    • check-skipped = hlint
  • any of [🛡 GitHub branch protection]:
    • check-success = Bootstrap post job
    • check-neutral = Bootstrap post job
    • check-skipped = Bootstrap post job
  • any of [🛡 GitHub branch protection]:
    • check-success = whitespace
    • check-neutral = whitespace
    • check-skipped = whitespace
  • any of [🛡 GitHub branch protection]:
    • check-success = Check sdist post job
    • check-neutral = Check sdist post job
    • check-skipped = Check sdist post job
  • any of [🛡 GitHub branch protection]:
    • check-success = Changelogs
    • check-neutral = Changelogs
    • check-skipped = Changelogs

mergify Bot added a commit that referenced this pull request May 17, 2026
@mergify
mergify Bot merged commit 67f85b0 into haskell:master May 17, 2026
249 checks passed
@mergify mergify Bot removed the queued label May 17, 2026
@taimoorzaeem

Copy link
Copy Markdown
Contributor

Thanks @sheaf for the fix. Any idea when this will be released? Would this get backported or or release in next major?

@ulysses4ever

Copy link
Copy Markdown
Collaborator

@taimoorzaeem next major release (3.18) which will happen over the next month most likely. No backports planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge ready and waiting Mergify is waiting out the cooldown period

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants