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

MCOL-303 #12

Merged
merged 2 commits into from Sep 22, 2016
Merged

MCOL-303 #12

merged 2 commits into from Sep 22, 2016

Conversation

LinuxJedi
Copy link
Contributor

It turns out if CMAKE_BUILD_TYPE is not already set the 'SET' command doesn't apply to the cache. This meant that CMAKE_BUILD_TYPE was not set by default and therefore no compiler flags were set.

With no compiler flags set we were using unoptimised builds which caused large performance regressions.

This fix tells CMAKE to set the default build to Release With Debug Info as intended but allows the user to change this.

Between 1.0.1 and 1.0.2 there were chnages to the build system which
allow for different build options with CMake. Unfortunately the default
was not set correctly so the default build was not optimised.

This change allows for the default build to be optimised again.
@benthompson15 benthompson15 merged commit d50eb94 into mariadb-corporation:develop Sep 22, 2016
@LinuxJedi LinuxJedi deleted the MCOL-303 branch September 28, 2016 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants