mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
Parallelize builds
This commit is contained in:
parent
cd40573535
commit
9d8ef5c2e8
|
@ -22,11 +22,11 @@ do
|
|||
do
|
||||
COLOR=$(echo "$color" | tr '[:lower:]' '[:upper:]')
|
||||
make clean
|
||||
make LED=$COLOR FIRMWARE=$VARIANT
|
||||
make LED=$COLOR FIRMWARE=$VARIANT -j `nproc`
|
||||
mv "build/watch.uf2" "$fw_dir/$variant-$color.uf2"
|
||||
done
|
||||
make clean
|
||||
emmake make FIRMWARE=$VARIANT
|
||||
emmake make FIRMWARE=$VARIANT -j `nproc`
|
||||
mkdir "$sim_dir/$variant/"
|
||||
mv "build/watch.wasm" "$sim_dir/$variant/"
|
||||
mv "build/watch.js" "$sim_dir/$variant/"
|
||||
|
|
Loading…
Reference in a new issue