mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Compile in parallel, with all available cores
This commit is contained in:
parent
26a2f46197
commit
d1032d59fd
@ -112,7 +112,7 @@ build_tool() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$NOBUILD" != "1" ]; then
|
if [ "$NOBUILD" != "1" ]; then
|
||||||
make || exit 1
|
make -j$(getconf _NPROCESSORS_ONLN) || exit 1
|
||||||
|
|
||||||
# Move the binary out of the dir
|
# Move the binary out of the dir
|
||||||
if [ "$UPLATFORM" = "win32" ] && [ -f "release/${1}${BINSUFFIX}" ]; then
|
if [ "$UPLATFORM" = "win32" ] && [ -f "release/${1}${BINSUFFIX}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user