You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to create a wheel package using poetry build for my target architecture (ARM) on a X86 host (linux) as my application should be running on an embedded device. There is a platform dependent component (C++ library) in my project. I already managed that poetry triggers the CMake build by defining a build.py script and calling setup_cpp from there. The CMake built was successful using a cross-compiler. However after the successful CMake build setuptools wants to copy the wrong share library (x86 version instead of ARM version).
I guess I would need to use something like crossenv to overcome that problem that the architectures get mixed up. This leads me to my question: How can I use poetry together with crossenv? Or how could I tell poetry to create a crossenv instead of a venv?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to create a wheel package using
poetry buildfor my target architecture (ARM) on a X86 host (linux) as my application should be running on an embedded device. There is a platform dependent component (C++ library) in my project. I already managed that poetry triggers the CMake build by defining a build.py script and calling setup_cpp from there. The CMake built was successful using a cross-compiler. However after the successful CMake build setuptools wants to copy the wrong share library (x86 version instead of ARM version).I guess I would need to use something like crossenv to overcome that problem that the architectures get mixed up. This leads me to my question: How can I use poetry together with crossenv? Or how could I tell poetry to create a crossenv instead of a venv?
Beta Was this translation helpful? Give feedback.
All reactions