Skip to content

merge queue: embarking master (6989d21) and [#10969 + #11857 + #11856] together#11871

Closed
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/1d8cec72a1
Closed

merge queue: embarking master (6989d21) and [#10969 + #11857 + #11856] together#11871
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/1d8cec72a1

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented May 23, 2026

🎉 This combination of pull requests has been checked successfully and will be merged soon. 🎉

Branch master (6989d21) and [#10969 + #11857 + #11856] are embarked together for merge.

This pull request has been created by Mergify to speculatively check the mergeability of [#10969 + #11857 + #11856].
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule default for merge:

Required conditions to stay in the queue:

---
checking_base_sha: 6989d21d865625193b1b2cb46f4c8d00c7348f2c
previous_failed_batches: []
pull_requests:
  - number: 10969
    scopes: []
  - number: 11857
    scopes: []
  - number: 11856
    scopes: []
scopes: []
...

zlonast and others added 8 commits May 17, 2026 12:54
Refactor componentGhcOptions for pass *-options to all invoking GHC.

During the refactoring process we needed to add componentGhcOptions
to all Haskell sources. It was also worth add linkGhcOptions
to linkLibrary same as componentGhcOptions to linkExecutable, linkFLib.

Add test for PackageTests/FFI/ForeignOptsCapi to pass cc-options flags to *.h.

Fixes #9801 #4435

Co-authored-by: Mikolaj Konarski <mikolaj.konarski@gmail.com>
Co-authored-by: Yuriy Syrovetskiy <git-orbi@cblp.su>
Before GHC 8.10, Cabal passed both `cc-options` and `cxx-options` via a single GHC flag, `-optc`.
When GHC 8.10 introduced `-optcxx`, Cabal picked up this change: `cc-options` and `cxx-options` are now mapped to `-optc` and `-optcxx`, respectively.
However, Cabal also changed its behavior for older GHC versions (8.8 and below): it now sends `cc-options` and `cxx-options` through separate instances of `-optc`.

Co-authored-by: Artem Pelenitsyn <a.pelenitsyn@gmail.com>
- Don't repeat "in the CI process"
- Configuration in one place
- Move .../ explanation
- Use footnote for .../ explanation
- Show how to install apply-refact
- Refactor gotchas
- Grammar, not with
- Fake admonition with @@
- Try to explain the type arguments
- Fix a grammar typo "package that aren't"
- Replace @...@ with heading
- Use monotype in warning
- Move 'PackageInstalled' note
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.

2 participants