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

Enable Debug Info in CMakeLists.txt #10

Open
haowang0402 opened this issue Feb 21, 2023 · 1 comment
Open

Enable Debug Info in CMakeLists.txt #10

haowang0402 opened this issue Feb 21, 2023 · 1 comment

Comments

@haowang0402
Copy link

For people who are not super familiar with pybind or cmake, if you want to generate the debug information for the shared library, you will need to comment the line pybind11_strip(ndarray_backend_cpu) and then compile it with regular cmake debug flag. Otherwise, the debug info will get stripped and you could not use debugging tools like (gdb, valgrind, etc.).

@Sstoica24
Copy link

Where did you find the "pybind11_strip(ndarray_backend_cpu" line?

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

No branches or pull requests

2 participants