Author Topic: "Abort" Build when using external Makefiles  (Read 16670 times)

Offline glaure

  • Single posting newcomer
  • *
  • Posts: 9
"Abort" Build when using external Makefiles
« on: February 02, 2010, 04:05:49 pm »
Hi!

I am looking for the right place in source code where the "abort" of Makefile builds is handled (Linux).
We are using a shitty difficult hierarchy of makefiles which are delegating build steps further down into a
separate jailed build environment. Well I got it running (+ debugging yeah :) ) but the simple task of aborting
a running build fails.

In my tests I observed that aborts using SIGTERM do not work as they stop the build process after the current step.
This step is sadly a step that takes 10 minutes or more. SIGINT works better, at least in my tests.

I found int CompilerGCC::KillProcess() but I am not sure that this function is the one that is called.

Any tips?

Bye Gunther

Offline glaure

  • Single posting newcomer
  • *
  • Posts: 9
Re: "Abort" Build when using external Makefiles
« Reply #1 on: February 02, 2010, 04:20:37 pm »
Please ignore the question.  I tried to kill a "root" build process from a process with user rights. Of course that didnt work.