-
Notifications
You must be signed in to change notification settings - Fork 100
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
ppc64le support #242
ppc64le support #242
Conversation
@kleisauke thanks for your input. I figured both of them out, plus another one. Working on the build failure, do you have any suggestions there? |
@sumitd2 Thank you very much for this PR, please can you rebase against the |
@lovell done |
@lovell @kleisauke darwin-x64 failed |
@lovell @kleisauke I am not sure how the npm/linux-ppc* directory should be named. js returns the arch as ppc64, not ppc64le. |
Good question. Node.js (and therefore npm) appears to use the endian-less What is the output of |
[root@sumit-rhel ~]# node -p "process.arch" |
@sumitd2 That line shouldn't cause issues for But indeed, we should probably also strip the |
@kleisauke Yes, that's what I meant. I am planning to check if the variable contains the suffix "ppc64le" and strip the last two characters, unless you have a better solution. |
@kleisauke I have updated populate.sh, can you trigger the build? Also, when do you plan publish it to the npm registry? My next task is to port lovell/sharp to Power, so I assume libvips will be needed in the registry. |
Thanks for the updates, I'm planning to rename some of the The next time this is published to npm will be as part of the next release of libvips, and yes, after that's done we'll need to do the other half of this task for prebuilt sharp binaries too. I can't say when, but perhaps you could subscribe/watch for new releases. |
@sumitd2 The @img/sharp-libvips-linux-ppc64 package is now published. If you're still interested, this means that the next step of adding prebuilt sharp binaries can now be considered, thank you. |
Tested locally.
cc: @seth-priya