Skip to content
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

Make use of precompiled header configureable #229

Merged
merged 1 commit into from Jun 24, 2015
Merged

Make use of precompiled header configureable #229

merged 1 commit into from Jun 24, 2015

Conversation

coldtobi
Copy link

This pull request makes the use of the precompiled header configureable.

Default is kept -- when not tweaking the settings the precompiled headers are used.

Reason behind:
For packaging I rebuild often, and when precompiled headers are active I cannot use tools like ccache to accelerate building. (Also precompiled headers do not really bring compilation speed)

Here some metrics (building the Debian package, using debuild -j4)

normalbuild: (without using ccache and using precompiled headers)
real 8m47.637s

with patch (cold ccache)
real 9m19.478s

hot ccache (as previous, but re-run with the now initialized ccache)
real 1m3.417s

tobi

RobertBeckebans added a commit that referenced this pull request Jun 24, 2015
Make use of precompiled header configureable
@RobertBeckebans RobertBeckebans merged commit edc3dfb into RobertBeckebans:master Jun 24, 2015
@RobertBeckebans
Copy link
Owner

Yeah I also got the impression that precompiled headers are only a big win for MSVC

@coldtobi coldtobi deleted the precompiled-headers-configureable branch June 24, 2015 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants