createrelease: use -j12 to build faster, build with -O2 (#5798)
This commit is contained in:
parent
79fb57e756
commit
0fec74d867
|
@ -132,8 +132,8 @@ rm $releasename.*
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Generate version.txt
|
# Generate version.txt
|
||||||
make -j4
|
make -j12
|
||||||
rm cppcheck.cfg
|
rm -f cppcheck.cfg
|
||||||
./cppcheck --version > upload/version.txt
|
./cppcheck --version > upload/version.txt
|
||||||
|
|
||||||
cd ~/cppcheck/upload
|
cd ~/cppcheck/upload
|
||||||
|
@ -149,7 +149,7 @@ cp -R ~/cppcheck/cfg .
|
||||||
cp -R ~/cppcheck/addons .
|
cp -R ~/cppcheck/addons .
|
||||||
cp -R ~/cppcheck/platforms .
|
cp -R ~/cppcheck/platforms .
|
||||||
cd ~/cppcheck
|
cd ~/cppcheck
|
||||||
make clean ; make -j4 FILESDIR=~/.cppcheck/$tag MATCHCOMPILER=yes
|
make clean ; make -j12 FILESDIR=~/.cppcheck/$tag MATCHCOMPILER=yes CXXFLAGS=-O2
|
||||||
mv cppcheck ~/.cppcheck/cppcheck-$tag
|
mv cppcheck ~/.cppcheck/cppcheck-$tag
|
||||||
|
|
||||||
git checkout main
|
git checkout main
|
||||||
|
|
Loading…
Reference in New Issue