Skip to content

Commit 0fec74d

Browse files
authored
createrelease: use -j12 to build faster, build with -O2 (cppcheck-opensource#5798)
1 parent 79fb57e commit 0fec74d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

createrelease

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ rm $releasename.*
132132
cd ..
133133

134134
# Generate version.txt
135-
make -j4
136-
rm cppcheck.cfg
135+
make -j12
136+
rm -f cppcheck.cfg
137137
./cppcheck --version > upload/version.txt
138138

139139
cd ~/cppcheck/upload
@@ -149,7 +149,7 @@ cp -R ~/cppcheck/cfg .
149149
cp -R ~/cppcheck/addons .
150150
cp -R ~/cppcheck/platforms .
151151
cd ~/cppcheck
152-
make clean ; make -j4 FILESDIR=~/.cppcheck/$tag MATCHCOMPILER=yes
152+
make clean ; make -j12 FILESDIR=~/.cppcheck/$tag MATCHCOMPILER=yes CXXFLAGS=-O2
153153
mv cppcheck ~/.cppcheck/cppcheck-$tag
154154

155155
git checkout main

0 commit comments

Comments
 (0)