createrelease: use -j12 to build faster, build with -O2 (#5798)

This commit is contained in:
Daniel Marjamäki 2023-12-23 08:18:34 +01:00 committed by GitHub
parent 79fb57e756
commit 0fec74d867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -132,8 +132,8 @@ rm $releasename.*
cd ..
# Generate version.txt
make -j4
rm cppcheck.cfg
make -j12
rm -f cppcheck.cfg
./cppcheck --version > upload/version.txt
cd ~/cppcheck/upload
@ -149,7 +149,7 @@ cp -R ~/cppcheck/cfg .
cp -R ~/cppcheck/addons .
cp -R ~/cppcheck/platforms .
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
git checkout main