Skip to content

Commit d737ef1

Browse files
committed
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 (cherry picked from commit 7eedcb4) (cherry picked from commit 81930bc) (cherry picked from commit b070eb9)
1 parent 6c14211 commit d737ef1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.semaphore/semaphore-runner.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ EOF
101101
# now build the package and run the tests
102102
rm -rf "$ARTIFACTS_DIR"
103103
# autopkgtest exits with 2 for "some tests skipped", accept that
104-
sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS=noudeb \
105-
--env TEST_UPSTREAM=1 ../systemd_*.dsc \
104+
sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS="noudeb nostrip optimize=-lto" \
105+
--env DPKG_DEB_COMPRESSOR_TYPE="none" \
106+
--env DEB_BUILD_PROFILES="noudeb" \
107+
--env TEST_UPSTREAM=1 \
108+
../systemd_*.dsc \
106109
-o "$ARTIFACTS_DIR" \
107110
-- lxc -s "$CONTAINER" \
108111
|| [ $? -eq 2 ]

0 commit comments

Comments
 (0)