From 5deb1a66670fac2badfdde5ca49e9ebfef26c2ed Mon Sep 17 00:00:00 2001 From: Kalpesh Lad Date: Wed, 6 Sep 2023 19:14:23 -0400 Subject: [PATCH 1/2] Testing with parallel and -j --- Jenkinsfile | 2 +- tailor_distro/debian_templates/rules.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index df658cd..8962815 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -260,7 +260,7 @@ pipeline { unstash(name: debianStash(recipe_label)) sh(""" ccache -z - cd $workspace_dir && dpkg-buildpackage -uc -us -b + cd $workspace_dir && dpkg-buildpackage -uc -us -b -j32 ccache -s """) stash(name: packageStash(recipe_label), includes: "*.deb") diff --git a/tailor_distro/debian_templates/rules.j2 b/tailor_distro/debian_templates/rules.j2 index 5d14c8a..3052dc4 100755 --- a/tailor_distro/debian_templates/rules.j2 +++ b/tailor_distro/debian_templates/rules.j2 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --parallel export PYTHONUNBUFFERED=1 export PYTHONDONTWRITEBYTECODE=1 From 30dfc90082f97334ab1efcfa6a9020f95c6a351a Mon Sep 17 00:00:00 2001 From: Kalpesh Lad Date: Thu, 14 Sep 2023 11:43:30 -0400 Subject: [PATCH 2/2] Revert "Testing with parallel and -j" This reverts commit 5deb1a66670fac2badfdde5ca49e9ebfef26c2ed. --- Jenkinsfile | 2 +- tailor_distro/debian_templates/rules.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8962815..df658cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -260,7 +260,7 @@ pipeline { unstash(name: debianStash(recipe_label)) sh(""" ccache -z - cd $workspace_dir && dpkg-buildpackage -uc -us -b -j32 + cd $workspace_dir && dpkg-buildpackage -uc -us -b ccache -s """) stash(name: packageStash(recipe_label), includes: "*.deb") diff --git a/tailor_distro/debian_templates/rules.j2 b/tailor_distro/debian_templates/rules.j2 index 3052dc4..5d14c8a 100755 --- a/tailor_distro/debian_templates/rules.j2 +++ b/tailor_distro/debian_templates/rules.j2 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --parallel + dh $@ export PYTHONUNBUFFERED=1 export PYTHONDONTWRITEBYTECODE=1