-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/support sharp yuv #81
Feature/support sharp yuv #81
Conversation
For some reason I can't push to your branch, here's the diff that should fix the compilation issue: a9478d8 (you can ignore the formatting changes, the Java code here is not formatted in a consistent way :/) Also, I'd like to cover the new feature with a test (to verify if an image can be written with a sharp YUV option), can you either add a test or share how do you use it, so I can try adding it later? |
libwebp-jni/build.yml
Outdated
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.
Is this file used? I couldn't find any usages of it
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.
I believe dockcross maps the current folder to /build, and therefor in the docker container this will be the location for the sources.
./dockcross/dockcross-windows-static-x86 bash -c './compile.sh Windows x86' | ||
./dockcross/dockcross-windows-static-x64 bash -c './compile.sh Windows x86_64' | ||
|
||
docker run --rm -v $(pwd):/workdir -e CROSS_TRIPLE=x86_64-apple-darwin gotson/crossbuild ./compile.sh Mac x86_64 /workdir/multiarch-darwin.cmake |
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 gotson/crossbuild
is name of the docker image you mentioned, right? This one: https://hub.docker.com/r/gotson/crossbuild
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.
yes it is
It seems the run-diffuse fails. What does that do? How can we fix that? |
It attempts to post comment showing how the output jar changes. It seems like it's a token permission issue 🤷 Jar size:Jar size change: +134.9KiB (3.0MiB -> 3.1MiB) Diffuse output:
JAR
CLASSES
|
In this PR I also added some logic to crossbuild the binaries.
webp version build is 1.3.0