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
Attempt to use ar
command for static libraries when possible
#3548
Attempt to use ar
command for static libraries when possible
#3548
Conversation
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.
Thank you for this change, looks good to me. Could please only rebase this branch on the current HEAD just to be sure? At the time it was submitted the mac-os CI was broken, sorry for that.
0b2fc11
to
2f9ba15
Compare
@WojciechMazur seems like my dynamic lib PR was merged with a failure: https://github.com/scala-native/scala-native/actions/runs/6439525000/job/17488991160#step:4:342 I will investigate and provide a fix in this PR. EDIT: I believe this is the fix: cfae0d9, at least it fixed the test locally |
If you need help backporting this into 0.4.x - please let me know, I really want to get this into the next release, just to avoid setting up LLVM on Scala-cli :D VirtusLab/scala-cli#2196 (comment) |
Sorry about merged that one too early. Only this PR seemed to be able to break something. Should have waited for the rebase and not skip the procedure |
I think it should apply quite smoothly, but I won't hesistate to ask for clues if needed. Thank you. I'd like a make a next 0.4.x patch by the end of this week |
…-native#3548) * Attempt to use `ar` command for static libraries when possible * Fix ar invocation withour MRI script * Correctly pass linker flags (cherry picked from commit 9b1b616)
* Attempt to use `ar` command for static libraries when possible * Fix ar invocation withour MRI script * Correctly pass linker flags (cherry picked from commit 9b1b616)
Closes #3542