-
Notifications
You must be signed in to change notification settings - Fork 68
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
Disable debug, enable optimizations in build.sh script #114
Comments
In my opinion we should not do this. That's be compiler bugs and we shouldn't have to worry about those. CI builds are for testing in nature, so they should probably be debug builds, with the exception of some release/final builds (which we should start providing soon). I agree about supporting |
I was not really suggesting we hunt for compiler bugs when I suggested building both debug/release, what I had in mind was:
|
@mborgerson what would be the optimization options to pass to configure? |
Basically for debug builds:
For release builds:
|
Wouldn't you want something like |
Keep in mind that in the past (that probably improved, but is still somewhat valid) compiling with
That has to be benchmarked for xqemu, of course. |
Currently the
build.sh
script is set up for building a version of xqemu that can be more conveniently debugged (this script originates from my dev machine during rebase work). Since this is not the typical use case for xqemu, we should remove the debugging features and enable optimization. Perhaps we should add a--debug
/--release
option to the build script to make building a little easier. CI systems should build both optimized and debuggable versions to catch compilation issues in either case.The text was updated successfully, but these errors were encountered: