-
Notifications
You must be signed in to change notification settings - Fork 3
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
cmake finds incorrect python #2
Comments
Hello @jamesoncollins, indeed I added a specific note to our documentation, regarding |
Hm, I am using 2022.02.1. Maybe I just did something else wrong. I'll look into it a bit more. |
Hello @jamesoncollins, You seem to have a different use case than me and my colleagues. Can you elaborate a little more on your configuration? which targetted board? why is pybind activated if you need gnuradio ? On my side, I can confirm that I have hope this helps 😃 |
@jamesoncollins I confirm, with qemu_x86_defconfig (ie x86_32) I have the same issue. @gwbres @jamesoncollins try to build gnuradio-3.9 where swig was replaced by pybind. |
Hello, |
@trabucayre @jamesoncollins If i'm able to build the scipy suite on an architecture that fails at gnuradio3.9, would not this demonstrate that the problem lies in how gnuradio 3.9 operates pybind? |
@jamesoncollins with a bit a delay: I have updated gnuradio package. Content is similar to the patch send to the mainline to bump gnuradio to version 3.10.4. |
While this likely doesn't matter for your project I noticed that find_package(pybind11) in GNU Radio's CMakeList.txt ends up using the wrong python exec (the host, rather than the target).
If the host is 64 bit and the target is 32-bit then you'll get this error:
“Python config failure: Python is 64-bit, chosen compiler is 32-bit”
I believe that, regardless of that error, the compilation of gnuradio will include an
-isystem
path to the host rather than the target.The text was updated successfully, but these errors were encountered: