FS#53089 - [cppcheck] Build without assertions
Attached to Project:
Community Packages
Opened by Markus Härer (neo1973) - Sunday, 26 February 2017, 15:30 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 06 April 2017, 14:44 GMT
Opened by Markus Härer (neo1973) - Sunday, 26 February 2017, 15:30 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 06 April 2017, 14:44 GMT
|
Details
Description:
The current binary is compiled with enabled assertions. This slows things down significantly. For comparison checking the lib directory in the Cppcheck sources: Used command: time cppcheck --enable=warning cppcheck-1.77/lib/ With assertions: real 1m7,191s user 1m6,830s sys 0m0,150s Without assertions: real 0m52,804s user 0m52,547s sys 0m0,123s To disable assertions I added this to the PKGBUILD: export CXXFLAGS="$CXXFLAGS -DNDEBUG" Additional info: * package version: 1.77-1 |
This task depends upon
Closed by Jelle van der Waa (jelly)
Thursday, 06 April 2017, 14:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in cppcheck-1.78-2-x86_64.pkg.tar.xz
Thursday, 06 April 2017, 14:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in cppcheck-1.78-2-x86_64.pkg.tar.xz
PKGBUILD
Sad...