Skip to content

Commit

Permalink
createrelease: use -j12 to build faster, build with -O2 (#5798)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Dec 23, 2023
1 parent 79fb57e commit 0fec74d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions createrelease
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 0fec74d

Please sign in to comment.