-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Adopt simpler strategy for big libs on Windows #6959
Conversation
I wouldn't just get rid of the code that splits the libraries, some obscure On 28 October 2016 at 22:37, Pedro J. Estébanez [email protected]
|
I decided to do it because of the comment:
Anyway, if it's not currently used, it can be removed and it's not lost forever since you can always get it back from the repo history. What do you think? |
Can you leave the bool flag (false by default), and leave the code On 28 October 2016 at 23:19, Pedro J. Estébanez [email protected]
|
I'd prefer we don't keep around dead code, especially as since my refactoring, the |
That's why I'm saying, we can move it to method if we want it out of the On 29 October 2016 at 06:10, Rémi Verschelde [email protected]
|
Ok, sounds good. @RandomShaper Can you move the splitting function to methods.py then? |
I guess that you'd have to make a methods.py function that takes as argument the env and the name of the lib to split ("drivers" or "modules" or anything else that might come in the future, maybe "thirdparty" - so I'd just make it a string). E.g.:
(untested) |
It's ok if it doesn't go in completely tested, I'll debug it eventually On 30 October 2016 at 12:46, Rémi Verschelde [email protected]
|
Apparently it might still be necessary for some console ports.
@RandomShaper No need to rebase, I used GitHub's new |
I've tested on Linux btw, it works. It's a bit pointless as the drivers lib is small now so it generates only libdrivers0*.a, but the logic will likely be necessary for libmodules too on those problematic platforms. |
@punto- When you get to it, it might make sense to rename the bool to |
Also fixes #6844.
As explained in methods.py (also explains why it fixes #6844 ):