|
| 1 | +## Cabal and Cabal-syntax 3.14.1.0 changelog |
| 2 | + |
| 3 | +### Significant changes |
| 4 | + |
| 5 | +- Fix build ways for modules in executables [#10418](https://github.com/haskell/cabal/issues/10418) [#10419](https://github.com/haskell/cabal/pull/10419) |
| 6 | + |
| 7 | + - Modules belonging to executables were being built in too many ways. For instance, if you |
| 8 | + had configured to build profiled library files then your executable modules would also |
| 9 | + be built profiled. Which was a regression in behaviour since `Cabal-3.12`. |
| 10 | + |
| 11 | +- Fix `./setup install` command [#10416](https://github.com/haskell/cabal/issues/10416) [#10417](https://github.com/haskell/cabal/pull/10417) |
| 12 | + |
| 13 | + - `./setup install` was failing with a `fromFlag NoFlag` error. It is now fixed. |
| 14 | + |
| 15 | +### Other changes |
| 16 | + |
| 17 | +- Add new options from ghc 9.12 [#10468](https://github.com/haskell/cabal/pull/10468) |
| 18 | + |
| 19 | + - ghc 9.12 adds several new command line options, divided between |
| 20 | + `LANGUAGE`s (already added), warnings, new preprocessor control options, |
| 21 | + and compilation control options. Two options needed to be added to the |
| 22 | + list of options requiring `Int` parameters. |
| 23 | + |
| 24 | + The new options, excluding warning and language options, are: |
| 25 | + |
| 26 | + * `-fexpose-overloaded-unfoldings` |
| 27 | + * `-fmax-forced-spec-args=N` |
| 28 | + * `-fno-expose-overloaded-unfoldings` |
| 29 | + * `-fno-object-determinism` |
| 30 | + * `-fobject-determinism` |
| 31 | + * `-fwrite-if-compression=N` |
| 32 | + * `-optCmmP…` |
| 33 | + * `-optJSP…` |
| 34 | + * `-pgmCmmP` |
| 35 | + * `-pgmJSP` |
| 36 | + |
| 37 | + As they all affect compilation and store hashes, the only necessary |
| 38 | + change was to list the two numeric options so they will be parsed |
| 39 | + correctly. To the best of our understanding, `-pgm*` and `-opt*` |
| 40 | + options are already handled as a group. |
0 commit comments