File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ rm -rf build/lin/*
5656# Original
5757qmake -config release " CONFIG += release_lin build_original"
5858make clean
59- make -j8
59+ make -j $( nproc )
6060rm -rf build/lin/obj
6161cd build/lin
6262zip vesc_tool_original_linux.zip ` ls | grep -v ' \.zip$' `
@@ -66,7 +66,7 @@ cd ../..
6666# Platinum
6767qmake -config release " CONFIG += release_lin build_platinum"
6868make clean
69- make -j8
69+ make -j $( nproc )
7070rm -rf build/lin/obj
7171cd build/lin
7272zip vesc_tool_platinum_linux.zip ` ls | grep -v ' \.zip$' `
@@ -76,7 +76,7 @@ cd ../..
7676# Gold
7777qmake -config release " CONFIG += release_lin build_gold"
7878make clean
79- make -j8
79+ make -j $( nproc )
8080rm -rf build/lin/obj
8181cd build/lin
8282zip vesc_tool_gold_linux.zip ` ls | grep -v ' \.zip$' `
@@ -86,7 +86,7 @@ cd ../..
8686# Silver
8787qmake -config release " CONFIG += release_lin build_silver"
8888make clean
89- make -j8
89+ make -j $( nproc )
9090rm -rf build/lin/obj
9191cd build/lin
9292zip vesc_tool_silver_linux.zip ` ls | grep -v ' \.zip$' `
@@ -96,7 +96,7 @@ cd ../..
9696# Bronze
9797qmake -config release " CONFIG += release_lin build_bronze"
9898make clean
99- make -j8
99+ make -j $( nproc )
100100rm -rf build/lin/obj
101101cd build/lin
102102zip vesc_tool_bronze_linux.zip ` ls | grep -v ' \.zip$' `
@@ -106,7 +106,7 @@ cd ../..
106106# Free of charge
107107qmake -config release " CONFIG += release_lin build_free"
108108make clean
109- make -j8
109+ make -j $( nproc )
110110rm -rf build/lin/obj
111111cd build/lin
112112zip vesc_tool_free_linux.zip ` ls | grep -v ' \.zip$' `
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ rm -rf build/lin/*
88# Original
99qmake -config release " CONFIG += release_lin build_original"
1010make clean
11- make -j8
11+ make -j $( nproc )
1212rm -rf build/lin/obj
1313
You can’t perform that action at this time.
0 commit comments