diff options
author | Robert Adam <dev@robert-adam.de> | 2021-03-04 13:52:08 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-03-06 20:57:22 +0300 |
commit | d1f28fdabda9c5fa2a4219d3307a92fd95a2c3c9 (patch) | |
tree | 191894ada76d672ffd86fb8367f49cc377a78141 /.ci/azure-pipelines/build_linux.bash | |
parent | 55206eff33fd3af2b158b45dac840ba452e60dab (diff) |
CI: Use unity builds
On Linux (using shared library dependencies) this reduced the average
compilation time to about 50% of the originally needed time.
Diffstat (limited to '.ci/azure-pipelines/build_linux.bash')
-rwxr-xr-x | .ci/azure-pipelines/build_linux.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/azure-pipelines/build_linux.bash b/.ci/azure-pipelines/build_linux.bash index 7027cd583..08e5d8a02 100755 --- a/.ci/azure-pipelines/build_linux.bash +++ b/.ci/azure-pipelines/build_linux.bash @@ -30,7 +30,7 @@ RELEASE_ID=$(python "scripts/mumble-version.py") cd $BUILD_BINARIESDIRECTORY -cmake -G Ninja -DCMAKE_INSTALL_PREFIX=appdir/usr \ +cmake -G Ninja -DCMAKE_INSTALL_PREFIX=appdir/usr -DCMAKE_UNITY_BUILD=ON \ -DCMAKE_BUILD_TYPE=Release -DRELEASE_ID=$RELEASE_ID -DBUILD_NUMBER=$BUILD_NUMBER \ -Dtests=ON -Dsymbols=ON -Dgrpc=ON \ -Ddisplay-install-paths=ON $BUILD_SOURCESDIRECTORY |