Abort build when using unity builds with 7.21/7.22

This may help prevent some broken yabridge builds.
This commit is contained in:
Robbert van der Helm
2022-11-28 13:23:48 +01:00
parent 7728d9ceb1
commit 1f6b5a4a81
3 changed files with 40 additions and 3 deletions
+7 -3
View File
@@ -818,13 +818,17 @@ The following dependencies are included in the repository as a Meson wrap:
to allow Winelib compilation
- Version 1.1.1 of the [CLAP headers](https://github.com/free-audio/clap).
The project can then be compiled with the command below. You can remove or
The project can then be compiled with the command below. ~~You can remove or
change the unity size argument if building takes up too much RAM, or you can
disable unity builds completely by getting rid of `--unity=on` at the cost of
slightly longer build times.
slightly longer build times.~~ This build command used to contain the
`--unity=on --unity-size=1000` option to reduce compile times and to allow for
better optimization. These options have temporarily been removed as they'll
result in a non-functional yabridge when used with Wine 7.21 and 7.22 due to
Wine bug [#53912](https://bugs.winehq.org/show_bug.cgi?id=53912).
```shell
meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=1000
meson setup build --buildtype=release --cross-file=cross-wine.conf
ninja -C build
```