Compiling tests in release mode [-O3 -DNDEBUG] results in extremely slow compilation on large test sets. Adding -g cflag helps with compilation times.
For example, I have large test cases, you can see 'em here. When compiling in github actions CI with -g cflag the compilation finishes in ~1 min. Without that flag compilation runs for about an hour before the compilation is eventually killed off by the os.
Compiling tests in release mode [
-O3 -DNDEBUG
] results in extremely slow compilation on large test sets. Adding-g
cflag helps with compilation times.For example, I have large test cases, you can see 'em here. When compiling in github actions CI with
-g
cflag the compilation finishes in ~1 min. Without that flag compilation runs for about an hour before the compilation is eventually killed off by the os.