]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
semaphore: speed up build
authorLuca Boccassi <bluca@debian.org>
Wed, 28 Feb 2024 23:46:15 +0000 (23:46 +0000)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 29 Feb 2024 08:55:40 +0000 (09:55 +0100)
- avoid stripping debug symbols and creating dbgsym packages
- avoid LTO, slows down build a lot
- avoid compressing packages, they are thrown out immediately after use
- avoid building udeb packages, not needed

.semaphore/semaphore-runner.sh

index 1b0b29e73e557563b48e27eec2c86171bd99fa2e..06e3e725b4697c91c7b147b8a726fcad5413e978 100755 (executable)
@@ -103,8 +103,9 @@ EOF
             # now build the package and run the tests
             rm -rf "$ARTIFACTS_DIR"
             # autopkgtest exits with 2 for "some tests skipped", accept that
-            sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS=noudeb \
-                                                       --env DEB_BUILD_PROFILES=pkg.systemd.upstream \
+            sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS="noudeb nostrip optimize=-lto" \
+                                                       --env DPKG_DEB_COMPRESSOR_TYPE="none" \
+                                                       --env DEB_BUILD_PROFILES="pkg.systemd.upstream noudeb" \
                                                        --env TEST_UPSTREAM=1 \
                                                        ../systemd_*.dsc \
                                                        -o "$ARTIFACTS_DIR" \