Repository navigation
fix(Cabal): Do not pass -optJSP to GHC < 9.10.2 - #12398
Conversation
7ad37df to
688c9c7
Compare
-optJSP to GHC < 9.12-optJSP to GHC < 9.10.2
4c868e2 to
4f4782a
Compare
leana8959
left a comment
There was a problem hiding this comment.
Would it be helpful to warn the user when the flag is not passed to GHC?
Review feedback on haskell#12398: 'renderGhcOptions' now omits -optJSP for older compilers, which would silently ignore the user's jspp-options. Emit a build-time warning in that case, naming the compiler version found. Also rename the ghc912 binding (leftover from the original PR title) to jsppSupported. Co-authored-by: Léana <leana.jiang+git@icloud.com>
|
@leana8959 I like your idea |
Review feedback on haskell#12398: 'renderGhcOptions' now omits -optJSP for older compilers, which would silently ignore the user's jspp-options. Emit a build-time warning in that case, naming the compiler version found, and likewise when the compiler version is unknown. Also rename the ghc912 binding (leftover from the original PR title) to jsppSupported. Co-authored-by: Léana <leana.jiang+git@icloud.com>
9fa00e4 to
d6c13ac
Compare
🚫 Left the queue · conflict with base branch2 h 9 min in the queue, with no time running CI. So far
Reason The pull request conflicts with Conflicting file: Before this, the pull request was held in the queue behind 1 pull request ahead of it. To get back in the queue
Times in UTC · dashboard · how the merge queue works |
Review feedback on haskell#12398: 'renderGhcOptions' now omits -optJSP for older compilers, which would silently ignore the user's jspp-options. Emit a build-time warning in that case, naming the compiler version found, and likewise when the compiler version is unknown. Also rename the ghc912 binding (leftover from the original PR title) to jsppSupported. Co-authored-by: Léana <leana.jiang+git@icloud.com>
324f7d7 to
9f2c15e
Compare
Review feedback on haskell#12398: 'renderGhcOptions' now omits -optJSP for older compilers, which would silently ignore the user's jspp-options. Emit a build-time warning in that case, naming the compiler version found, and likewise when the compiler version is unknown. Also rename the ghc912 binding (leftover from the original PR title) to jsppSupported. Co-authored-by: Léana <leana.jiang+git@icloud.com>
9f2c15e to
5852f95
Compare
Review feedback on haskell#12398: 'renderGhcOptions' now omits -optJSP for older compilers, which would silently ignore the user's jspp-options. Emit a build-time warning in that case, naming the compiler version found, and likewise when the compiler version is unknown. Also rename the ghc912 binding (leftover from the original PR title) to jsppSupported. Co-authored-by: Léana <leana.jiang+git@icloud.com>
fc57a97 to
bbf5113
Compare
Co-authored-by: Léana <leana.jiang+git@icloud.com>
bbf5113 to
de000b1
Compare
❌ Left the queue ·
|
|
@Mergifyio queue |
✅ Merged into
|
The
jspp-optionsfield is rendered asghc -optJSP<opt>, but that flag only exists since GHC 9.10.2, so a package usingjspp-optionscould not be built at all with GHC < 9.10.2.Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significantin the changelog file.