From 33aef15f74fb81a2795d7791c1c9ab88ecd3486f Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 24 Dec 2023 01:23:29 +0100 Subject: [PATCH] enable parallel builds for debian --- bloom/generators/debian/templates/ament_cmake/rules.em | 2 +- bloom/generators/debian/templates/cmake/rules.em | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bloom/generators/debian/templates/ament_cmake/rules.em b/bloom/generators/debian/templates/ament_cmake/rules.em index a856369d..7ec55942 100755 --- a/bloom/generators/debian/templates/ament_cmake/rules.em +++ b/bloom/generators/debian/templates/ament_cmake/rules.em @@ -24,7 +24,7 @@ endif DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) %: - dh $@@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE) + dh $@@ -v --buildsystem=cmake --parallel --builddirectory=.obj-$(DEB_HOST_GNU_TYPE) override_dh_auto_configure: # In case we're installing to a non-standard location, look for a setup.sh diff --git a/bloom/generators/debian/templates/cmake/rules.em b/bloom/generators/debian/templates/cmake/rules.em index 284a0714..9770d1b9 100755 --- a/bloom/generators/debian/templates/cmake/rules.em +++ b/bloom/generators/debian/templates/cmake/rules.em @@ -27,7 +27,7 @@ export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) %: - dh $@@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE) + dh $@@ -v --buildsystem=cmake --parallel --builddirectory=.obj-$(DEB_HOST_GNU_TYPE) override_dh_auto_configure: # In case we're installing to a non-standard location, look for a setup.sh