How to run parallel make with debuild?

ph0t0nix

I am trying to make a package of a piece of software that I've (co-) written. I'm using

debuild -i -us -uc -b 

And in principle that works fine. In order to shorten compilation time I'd like to debuild to run make in parallel (like I normally do by running make -j4, for example). I've found a few locations on the web that suggest the following:

debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc -b
debuild -j4 -us -uc -b

Another site suggested to add some code to the debian/rules file that basically sets

MAKEFLAGS += -j4

However, none of these seems to work. Have I missed something? or should I change something in the autoconf/automake settings of the source?

gggf

It has to be enabled in debian/rules. If the package uses dh, there is a line like this in debian/rules:

dh $@

Change that to

dh $@ --parallel

Then your commands will work, at least DEB_BUILD_OPTIONS="parallel=4"

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

how to make two Spark RDD run parallel

From Java

How to make jquery animation functions run in parallel?

From Dev

How to make xUnit to run a Theory parallel?

From Dev

How can I make this rxjava zip to run in parallel?

From Dev

how to make aws elastic mapreduce hive commands run in parallel

From Dev

How to force certain groups of targets to run in parallel with GNU Make?

From Dev

How can I make this rxjava zip to run in parallel?

From Dev

BluebirdJS: Make a function run in parallel

From Dev

How to run subroutine in parallel?

From Dev

How to run DEoptim in parallel?

From Dev

How to make a parallel lines

From Dev

How to run parallel with multiplying increment

From Dev

How to run two threads parallel?

From Dev

How to run Spock tests in parallel?

From Dev

How to parallel multiple run with ncverilog?

From Dev

How to run files in parallel in Ruby?

From Dev

How to run parallel execution with ant

From Dev

How to parallel multiple run with ncverilog?

From Dev

how to run playbooks in ansible parallel

From Dev

Coded UI - How to make each remote system with a test agent run all the Test Scripts in parallel

From Dev

How to make the parallel port to work?

From Dev

How to debuild (Debian) Apache without it performing a clean

From Dev

how to turn non-parallel junit parameterized tests into parallel run

From Dev

How to run a script multiple time parallel using tollef parallel

From Dev

Does using -parallel or (and) -vec will make our program run faster?

From Dev

Does F# internally make the code run in parallel by default?

From Dev

Does using -parallel or (and) -vec will make our program run faster?

From Dev

how to make the string run?

From Dev

override_dh_auto_install doesn't run during debuild

Related Related

  1. 1

    how to make two Spark RDD run parallel

  2. 2

    How to make jquery animation functions run in parallel?

  3. 3

    How to make xUnit to run a Theory parallel?

  4. 4

    How can I make this rxjava zip to run in parallel?

  5. 5

    how to make aws elastic mapreduce hive commands run in parallel

  6. 6

    How to force certain groups of targets to run in parallel with GNU Make?

  7. 7

    How can I make this rxjava zip to run in parallel?

  8. 8

    BluebirdJS: Make a function run in parallel

  9. 9

    How to run subroutine in parallel?

  10. 10

    How to run DEoptim in parallel?

  11. 11

    How to make a parallel lines

  12. 12

    How to run parallel with multiplying increment

  13. 13

    How to run two threads parallel?

  14. 14

    How to run Spock tests in parallel?

  15. 15

    How to parallel multiple run with ncverilog?

  16. 16

    How to run files in parallel in Ruby?

  17. 17

    How to run parallel execution with ant

  18. 18

    How to parallel multiple run with ncverilog?

  19. 19

    how to run playbooks in ansible parallel

  20. 20

    Coded UI - How to make each remote system with a test agent run all the Test Scripts in parallel

  21. 21

    How to make the parallel port to work?

  22. 22

    How to debuild (Debian) Apache without it performing a clean

  23. 23

    how to turn non-parallel junit parameterized tests into parallel run

  24. 24

    How to run a script multiple time parallel using tollef parallel

  25. 25

    Does using -parallel or (and) -vec will make our program run faster?

  26. 26

    Does F# internally make the code run in parallel by default?

  27. 27

    Does using -parallel or (and) -vec will make our program run faster?

  28. 28

    how to make the string run?

  29. 29

    override_dh_auto_install doesn't run during debuild

HotTag

Archive