summaryrefslogtreecommitdiffstats
path: root/.semaphore
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-02-29 00:46:15 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2024-02-29 09:55:40 +0100
commit7eedcb4e3ba34487d128abd3c86e0467bbd0bc92 (patch)
treea078e5502bdf734d48cbe4c0d3c9019402d08e15 /.semaphore
parentdissect-image: fix build (diff)
downloadsystemd-7eedcb4e3ba34487d128abd3c86e0467bbd0bc92.tar.xz
systemd-7eedcb4e3ba34487d128abd3c86e0467bbd0bc92.zip
semaphore: speed up build
- 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
Diffstat (limited to '.semaphore')
-rwxr-xr-x.semaphore/semaphore-runner.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh
index 1b0b29e73e..06e3e725b4 100755
--- a/.semaphore/semaphore-runner.sh
+++ b/.semaphore/semaphore-runner.sh
@@ -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" \