-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
mac/manylinux deps updates 2024 #3118
Conversation
2812689
to
ba5a7f7
Compare
ba5a7f7
to
02da12f
Compare
02da12f
to
005a566
Compare
005a566
to
83380ed
Compare
This PR slightly increases wheel size, but that is because so far SDL and friends were probably not being compiled with optimization flags, but now they are. So that is a plus of this PR. Also, I am hopeful that this PR should help with reviving my win deps PR from last year (#2505) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fact that we're building some of these libraries ourselves at all is crazy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, all looks good to me, but holy heck that is a lot of version bumps. Still the CI is happy, so I'm happy?
I can also reveal that non of these many linux build changes had any effect whatsoever on the windows build (which I'm sure you were wondering).
Going through a wheel produced on this branch and a wheel produced on main recently, I notice the one on main has libxmp in the pygame_ce.libs folder, and the wheel from this branch does not. Is that a problem? |
I noticed that too. But then I realised that it is somewhat intentional with the cmake build: libxmp gets statically linked against SDL_image. You can also see that SDL_image size goes up the same amount as the old libxmp shared lib. We have a libxmp unittest, that passed on this branch too, so we should be all good here |
You mean SDL_mixer. Now 75% (at least) of SDL_mixer's file size is this one library! And they're bigger together than they were separately!* Also a test run of the dep on the machine that had all the dev libraries to build the thing in the first place is less convincing. *assuming the switch to position independent code in libxmp compilation didn't grab the 10 additional kb |
We never need to worry about this on macs and linuxs because
Also like I mentioned above
I attribute binary size increases to this |
You also have the libraries installed to build a bunch of things from source, so that's not convincing either. I believe you that it works, but because of the filesize, not either of those tests. |
trust auditwheel and delocate devs 😄 So far the issue you have talked about has only ever bitten us on windows (some random missing DLL), atleast in my memory |
Also would it be easy to not have libxmp statically in SDL_mixer? It's the only one that is, this seems like it could confuse us in the future. Or add some comments at least? |
I can open an issue/PR to SDL_mixer about it, I feel like they would also see it as an inconsistency |
CMake doesn't give us control of that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working this up!
It's that time of the year again, this is the deps update PR of 2024.
Most of the dependency updates are straightforward, the only non-trivial changes here are change in buildsystem for
LD_LIBRARY_PATH
handling