[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue with make clean && make
From: |
ljedamus |
Subject: |
Issue with make clean && make |
Date: |
Sat, 9 Nov 2024 12:48:31 +0000 |
Hi!
I think I found a bug in gnu make.
When I do a "% make clean && make" I get errors which don't occur when I do a
"% make clean; make".
I once got a error message saying something like "make internal: got 5 jobs,
but only 4 are allowed", but I cannot reproduce that error message again.
You have to set some environment variables to reproduce the result:
export MAKEFLAGS="-j 4 -l 2.5"
export machtype="Linux" (or "MacOS" or "Arm". These three values are
recognised.)
export DEBUG="true"
The error does not occur, if I unset MAKEFLAGS. Then the result of "% make
clean && make" is the same as "% make clean; make".
The code can be found on GitHub:
https://github.com/jedamus/split
Please take a look at my Makefile, as it is rather complex.
If you have any questions, email them to me.
Greetings
Leander Jedamus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Issue with make clean && make,
ljedamus <=