[Bug 1193077] [NEW] dh_auto_build doesn't support parallel builds with cmake

Dan Kegel dank at kegel.com
Thu Jun 20 18:46:17 UTC 2013


Public bug reported:

Maybe I'm dense, but when I try to use the trivial dh-based rules
file with a cmake-based project, everything works but doing
 'debuild -j4' doesn't result in a parallel build.
dh_auto_build is invoked with -O-j4, but that then runs e.g.

/usr/bin/cmake -H/home/dank/src/sandbox -B/home/dank/src/sandbox/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/dank/src/sandbox/obj-x86_64-linux-gnu/CMakeFiles /home/dank/src/sandbox/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all

Note the lack of a -j4 on the final make.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532805 appears to be
related.  Not sure where that ended up.

** Affects: debhelper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1193077

Title:
  dh_auto_build doesn't support parallel builds with cmake

Status in “debhelper” package in Ubuntu:
  New

Bug description:
  Maybe I'm dense, but when I try to use the trivial dh-based rules
  file with a cmake-based project, everything works but doing
   'debuild -j4' doesn't result in a parallel build.
  dh_auto_build is invoked with -O-j4, but that then runs e.g.

  /usr/bin/cmake -H/home/dank/src/sandbox -B/home/dank/src/sandbox/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
  /usr/bin/cmake -E cmake_progress_start /home/dank/src/sandbox/obj-x86_64-linux-gnu/CMakeFiles /home/dank/src/sandbox/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
  make -f CMakeFiles/Makefile2 all

  Note the lack of a -j4 on the final make.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532805 appears to be
  related.  Not sure where that ended up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1193077/+subscriptions




More information about the foundations-bugs mailing list