-
Notifications
You must be signed in to change notification settings - Fork 41
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
Modify Release to RelWithDebInfo for built wheels #201
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 4 4
Lines 278 278
=======================================
Hits 277 277
Misses 1 1 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice improvement! Using RelWithDebInfo
instead of Release
increases the wheel size, but the code runs still fast and optimize, and has debug information included; thus a great deal to trace and fix bugs efficiently. Thanks @mlxd!
This will make #201 works as intended.
Context: Debugging with pypi supplied wheels is currently difficult due to the missing debug info. This PR ensure deub info is returned to the dynamic libraries by setting
Release
toRelWithDebInfo
. This allows use of Lightning through debuggers, such as gdb, and lldb.Description of the Change:
Release
build type defaults toRelWithDebInfo
.Benefits: Allows debugging symbols to be included in distributed binaries.
Possible Drawbacks: Larger wheel sizes.
Related GitHub Issues: