bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aborting script evaluation for targets without parallel build support


From: SF Markus Elfring
Subject: Aborting script evaluation for targets without parallel build support
Date: Mon, 05 Jan 2015 12:42:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hello,

I would like to abort the evaluation of a make script
if data processing was requested for a target which does
not support a parallel software build process so far.
I do not want to use the .NOTPARALLEL pseudo-target for
some of my applications when I can call a make function
like "error" on concrete demand.

I have got a few difficulties there.

1. The list of targets which can be specified as command
line parameters is not provided by the tool "make 4.1-2.1"
in the variable "MAKEFLAGS".
   How should the target name be checked then?

2. It seems that the situation for a safe handling of
   the parameter "-j" is unclear within "MAKEFLAGS".
   http://www.gnu.org/software/make/manual/html_node/Parallel.html

I would appreciate your ideas and further advices.

Regards,
Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]