Commit 09ddb180 authored by nanahira's avatar nanahira

add process count in update script

parent 95675dfa
#!/bin/bash #!/bin/bash
# update script export PROCESS_COUNT=$(grep -c "processor" /proc/cpuinfo)
git fetch origin master git fetch origin master
git reset --hard FETCH_HEAD git reset --hard FETCH_HEAD
...@@ -15,7 +15,7 @@ git submodule foreach git fetch origin master ...@@ -15,7 +15,7 @@ git submodule foreach git fetch origin master
git submodule foreach git reset --hard FETCH_HEAD git submodule foreach git reset --hard FETCH_HEAD
~/premake5 gmake ~/premake5 gmake
cd build cd build
make config=release make config=release -j$PROCESS_COUNT
cd ../ cd ../
strip ygopro strip ygopro
cd ../ cd ../
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment