-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[libtorrent] Update to 1.2.6 and add features #10686
[libtorrent] Update to 1.2.6 and add features #10686
Conversation
Hi @FranciscoPombal |
5de2aea
to
a0c8eb3
Compare
Thanks for the review, I've addressed all comments. Also sorry for the last-minute change, but I managed to expose most of the features listed here: https://www.libtorrent.org/building.html#building-with-cmake I looked at the |
The linux CI problem seems unrelated to my changes. |
a0c8eb3
to
dbf65d8
Compare
Rebased again on top of master as of writing, now all the checks passed. |
dbf65d8
to
c47e6e1
Compare
c47e6e1
to
7e3149d
Compare
Need to test features. |
7e3149d
to
7d39447
Compare
Small note: I changed the regex capture group of the minor python version to from |
@FranciscoPombal In addition, python version is not compatible with that supported in vcpkg. As for feature
Could you please try to check them again? |
@NancyLi1013 Following your comment, on a Windows system, I tested the
As far as the However, I have not managed to fix the
I eventually get this error,
even though the libs seem to be detected just fine in the configuration step:
Any suggestions? Or is it possible/acceptable to blacklist the Note: to new commits are separate for now to facilitate the review of each change, later I will squash them |
9d04507
to
762a39f
Compare
@NancyLi1013 I replaced the previous patch that solved the This means that when 1.2.6 is released and this port is updated to that versions, both patches here can be dropped. In the meantime, in my testing, I managed successful builds of all features with all 3 of the official Windows triplets, plus the |
1.2.6 released |
762a39f
to
92a547d
Compare
@gtumanyan yes, I am aware of this. I will update the PR once 1.2.6 is officially tagged. @NancyLi1013 might as well wait for 1.2.6. Requires no changes other than dropping both of the Windows patches, which have been merged upstream (arvidn/libtorrent@ade8ed3 and arvidn/libtorrent@eb50e9e) |
92a547d
to
d94cf2d
Compare
@gtumanyan @NancyLi1013 |
The otl regressions(#10922) are not related with this PR. |
@FranciscoPombal |
@NancyLi1013 The
|
@FranciscoPombal All features have passed on the following triplets:
Note: For
Can you build |
👍. Additionally, as mentioned, it should also work on
Yes, that is expected.
That's strange, I am able to build the |
@NancyLi1013 I think you might need the |
The errors like this:
Whether I install python3-dev or not, I always encounter this problem. |
d94cf2d
to
1e6713d
Compare
@NancyLi1013 You're right. I managed to reproduce the issue on a clean Ubuntu 18.04 install. It was working on my daily driver system because of a few fortunate but misleading circumstances. To address this, I have made a new patch for the cmake script associated with the feature. It is worth noting that it requires installing Finally, because of a comment I saw in the cmake build script, I have added a dependency on |
@FranciscoPombal
|
1e6713d
to
98906a3
Compare
I've fixed the patch. It should build correctly now. |
@FranciscoPombal |
LGTM, thanks for the PR! |
Update to
1.2.51.2.6Drop
add-executor_type.patch
because it has since been included upstream (arvidn/libtorrent@48fa534).