1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00

autobuild: Run the samba-minimal-smbd build jobs with -j 2

samba-minimal-smbd is now always the slowest job by many
minutes. There's no timeouts to be expected, so run them with nice -n
19.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Nov 26 12:38:17 UTC 2024 on atb-devel-224
This commit is contained in:
Volker Lendecke 2024-11-25 16:34:06 +01:00
parent 19cc587031
commit 3294fb0667

View File

@ -1059,7 +1059,7 @@ tasks = {
# build with all modules static # build with all modules static
("allstatic-configure", "./configure.developer " + samba_configure_params + " --with-static-modules=ALL"), ("allstatic-configure", "./configure.developer " + samba_configure_params + " --with-static-modules=ALL"),
("allstatic-make", "make -j"), ("allstatic-make", "nice -n 19 make -j 2"),
("allstatic-test", make_test(TESTS="samba3.smb2.create.*nt4_dc")), ("allstatic-test", make_test(TESTS="samba3.smb2.create.*nt4_dc")),
("allstatic-lcov", LCOV_CMD), ("allstatic-lcov", LCOV_CMD),
("allstatic-def-check-clean-tree", CLEAN_SOURCE_TREE_CMD), ("allstatic-def-check-clean-tree", CLEAN_SOURCE_TREE_CMD),
@ -1068,7 +1068,7 @@ tasks = {
# force all libraries as private # force all libraries as private
("allprivate-def-distclean", "make distclean"), ("allprivate-def-distclean", "make distclean"),
("allprivate-def-configure", "./configure.developer " + samba_configure_params + " --private-libraries=ALL"), ("allprivate-def-configure", "./configure.developer " + samba_configure_params + " --private-libraries=ALL"),
("allprivate-def-make", "make -j"), ("allprivate-def-make", "nice -n 19 make -j 2"),
# note wrapper libraries need to be public # note wrapper libraries need to be public
("allprivate-def-no-public", "ls ./bin/shared | egrep -v '^private$|lib[nprsu][saeoi][smscd].*-wrapper.so$|pam_set_items.so|pam_matrix.so' | wc -l | grep -q '^0'"), ("allprivate-def-no-public", "ls ./bin/shared | egrep -v '^private$|lib[nprsu][saeoi][smscd].*-wrapper.so$|pam_set_items.so|pam_matrix.so' | wc -l | grep -q '^0'"),
("allprivate-def-only-private-ext", "ls ./bin/shared/private | egrep 'private-samba' | wc -l | grep -q '^0' && exit 1; exit 0"), ("allprivate-def-only-private-ext", "ls ./bin/shared/private | egrep 'private-samba' | wc -l | grep -q '^0' && exit 1; exit 0"),
@ -1082,7 +1082,7 @@ tasks = {
# extension and 2 exceptions # extension and 2 exceptions
("allprivate-ext-distclean", "make distclean"), ("allprivate-ext-distclean", "make distclean"),
("allprivate-ext-configure", "./configure.developer " + samba_configure_params + " --private-libraries=ALL --private-library-extension=private-library --private-extension-exception=pac,ndr"), ("allprivate-ext-configure", "./configure.developer " + samba_configure_params + " --private-libraries=ALL --private-library-extension=private-library --private-extension-exception=pac,ndr"),
("allprivate-ext-make", "make -j"), ("allprivate-ext-make", "nice -n 19 make -j 2"),
# note wrapper libraries need to be public # note wrapper libraries need to be public
("allprivate-ext-no-public", "ls ./bin/shared | egrep -v '^private$|lib[nprsu][saeoi][smscd].*-wrapper.so$|pam_set_items.so|pam_matrix.so' | wc -l | grep -q '^0'"), ("allprivate-ext-no-public", "ls ./bin/shared | egrep -v '^private$|lib[nprsu][saeoi][smscd].*-wrapper.so$|pam_set_items.so|pam_matrix.so' | wc -l | grep -q '^0'"),
("allprivate-ext-no-private-default-ext", "ls ./bin/shared/private | grep 'private-samba' | wc -l | grep -q '^0'"), ("allprivate-ext-no-private-default-ext", "ls ./bin/shared/private | grep 'private-samba' | wc -l | grep -q '^0'"),
@ -1097,7 +1097,7 @@ tasks = {
# retry with nonshared smbd and smbtorture # retry with nonshared smbd and smbtorture
("nonshared-distclean", "make distclean"), ("nonshared-distclean", "make distclean"),
("nonshared-configure", "./configure.developer " + samba_configure_params + " --bundled-libraries=ALL --with-static-modules=ALL --nonshared-binary=smbtorture,smbd/smbd"), ("nonshared-configure", "./configure.developer " + samba_configure_params + " --bundled-libraries=ALL --with-static-modules=ALL --nonshared-binary=smbtorture,smbd/smbd"),
("nonshared-make", "make -j"), ("nonshared-make", "nice -n 19 make -j 2"),
("nonshared-test", make_test(TESTS="samba3.smb2.create.*nt4_dc")), ("nonshared-test", make_test(TESTS="samba3.smb2.create.*nt4_dc")),
("nonshared-lcov", LCOV_CMD), ("nonshared-lcov", LCOV_CMD),
("nonshared-check-clean-tree", CLEAN_SOURCE_TREE_CMD), ("nonshared-check-clean-tree", CLEAN_SOURCE_TREE_CMD),
@ -1106,7 +1106,7 @@ tasks = {
# retry without winbindd # retry without winbindd
("nonwinbind-distclean", "make distclean"), ("nonwinbind-distclean", "make distclean"),
("nonwinbind-configure", "./configure.developer " + samba_configure_params + " --bundled-libraries=ALL --with-static-modules=ALL --without-winbind"), ("nonwinbind-configure", "./configure.developer " + samba_configure_params + " --bundled-libraries=ALL --with-static-modules=ALL --without-winbind"),
("nonwinbind-make", "make -j"), ("nonwinbind-make", "nice -n 19 make -j 2"),
("nonwinbind-test", make_test(TESTS="samba3.smb2.*.simpleserver")), ("nonwinbind-test", make_test(TESTS="samba3.smb2.*.simpleserver")),
("nonwinbind-lcov", LCOV_CMD), ("nonwinbind-lcov", LCOV_CMD),
("nonwinbind-check-clean-tree", CLEAN_SOURCE_TREE_CMD), ("nonwinbind-check-clean-tree", CLEAN_SOURCE_TREE_CMD),