Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

"Abort" Build when using external Makefiles

(1/1)

glaure:
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

glaure:
Please ignore the question.  I tried to kill a "root" build process from a process with user rights. Of course that didnt work.

Navigation

[0] Message Index

Go to full version