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:
@@ -762,7 +762,9 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
|
|||||||
export HAIKU_IGNORE_USER_BUILD_CONFIG=1
|
export HAIKU_IGNORE_USER_BUILD_CONFIG=1
|
||||||
export HAIKU_ADD_OPTIONAL_PACKAGES=$(OPTIONAL_PACKAGES)
|
export HAIKU_ADD_OPTIONAL_PACKAGES=$(OPTIONAL_PACKAGES)
|
||||||
export HAIKU_PRIMARY_GCC=$(HAIKU_GCC_VERSION[1])
|
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
|
local otherAlternativeSystemLibsZip
|
||||||
|
|||||||
Reference in New Issue
Block a user