Utilize JAMJOBS (jam 2.5-haiku-20111222) in InvokeSubJam.
Note: As InvokeSubJam invokes a jam process separate from the first, JAMJOBS may result in up to 2 * n - 1 jobs in total being run. While this is not accurate, it is a better scenario than only a single job running.
This commit is contained in:
parent
7928259c69
commit
81275d20c7
@ -762,7 +762,9 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
|
||||
export HAIKU_IGNORE_USER_BUILD_CONFIG=1
|
||||
export HAIKU_ADD_OPTIONAL_PACKAGES=$(OPTIONAL_PACKAGES)
|
||||
export HAIKU_PRIMARY_GCC=$(HAIKU_GCC_VERSION[1])
|
||||
$(JAM:E=jam) -q $(COMMAND_LINE) ;
|
||||
# NOTE: depending on when InvokeSubJam is called, you may end up with
|
||||
# 2 * n - 1 jobs in total.
|
||||
$(JAM:E=jam) -q -j$(JAMJOBS) $(COMMAND_LINE) ;
|
||||
}
|
||||
|
||||
local otherAlternativeSystemLibsZip
|
||||
|
Loading…
Reference in New Issue
Block a user