-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Unit tests: Improve build time #1141
base: main
Are you sure you want to change the base?
Conversation
6323768
to
4be3d40
Compare
- Remove unnecessary includes from tut.hpp - Add tut.hpp to precompiled headers Improves test build time from 4:30 to 3:20 on my system.
Reducing to -O0 disables precompiled headers and actually increases build time.
4be3d40
to
34fb706
Compare
I disabled precompiled headers, since they were causing problems outside of Linux/gcc that I don't have time to track down. Remaining failures are: MSVC:
https://github.com/libgeos/geos/actions/runs/10410141366/job/28831289025?pr=1141#step:3:587 MacOS clang14:
https://github.com/libgeos/geos/actions/runs/10410141366/job/28831291511?pr=1141#step:8:2684 |
I suspect the "real solution" to improving the build time is to use a unity build, but that doesn't play well with TUT's use of typedefs:
We need |
Improves test build time from 4:30 to 3:20 on my system.