-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Refactor crossenv spksrc.wheel.mk and build libtorrent #5180
Conversation
I was able to get boost 1.78.0 to build ok btw... (At least it looked like so) |
@th0ma7 I have created a patch for boost with python 3.10. Now I am failing to compile the wheel for "rencode==1.0.6" in
when I install deluge in a local venv (x64 only) rencode is successfully built:
|
I just tried it from |
@hgy59 I got it to work boost 1.78+libtorrent using crossenv!!! Have a look at it, this might allow you to clean-up #4153 While playing with the numerous options I ended-up also finding a small issue in the code (now fixed). Only thing left is confirming if the EDIT: In turn upgrading boost as other implicationson domoticz and mkvtoolnix).. and build only worked on 64-bit archs. But still, its a step in the right direction :) |
@hgy59 I may have nailed it! Note that libtorrent 2.x required I still need to complete a few round of testing as there was a major code refactoring. Will re-tests against all wheels and archs to confirm all really is ok. |
@th0ma7 FYI: when building for evansports we are not cross compiling, as the build system for the compiler is set to i686 (see spksrc.tc.mk: This was an issue when building erlang, as this requires real cross compilation. The solution was to use |
@hgy59 I'll have a good look at it. As Current evansport-7.0 config is:
EDIT: I tried a few things but honestly I got lost and wasn't able to get anywhere close to a solution... Perhaps you'll be luckier than me... https://www.boost.org/doc/libs/1_78_0/tools/build/doc/html/index.html |
@hgy59 I think I've found the reason why... it simply is not supported by evansport kernel... armv7-7.0:
evansport-7.0
So basically, libtorrent 2.0.5 will ONLY work on DSM-7 except at least evansport. |
Description
Demonstration of feasibility to build using crossenv only. Required a code refactoring of crossenv wheel build mostly for properly passing individual wheel build flags as
ADDITIONAL_*FLAGS
. Updated code may lead to allow parallel wheel building eventually...Currently fails to build on evansport-7.0 (arvidn/libtorrent#6792)
Reference: #4153
Checklist
all-supported
completed successfullyType of change