Skip to content
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

Add X265 multilib support for osx and linux-x86* #619

Merged
merged 15 commits into from
Nov 22, 2018

Conversation

renderdude
Copy link
Contributor

X265 supports API selectable internal compression depths of 8,10, or 12 bits. This commit enables building of multilib support for X265 on osx and linux-x86* and enables this feature in ffmpeg.

X265 supports API selectable internal compression depths of 8,10, or 12 bits. This commit enables building of multilib support for X265 on osx and linux-x86* and enables this feature in ffmpeg.
@saudet
Copy link
Member

saudet commented Oct 3, 2018

Thanks for the contribution! But it doesn't build:

ERROR: libx265 not found

The $INSTALL_PATH needs to be used to have make install them in the right place. BTW, instead of using a patch to modify multilib.sh, we could directly launch these multiple builds from cppbuild.sh. That would make it easier to test and fix.

@renderdude
Copy link
Contributor Author

renderdude commented Oct 3, 2018 via email

@saudet
Copy link
Member

saudet commented Oct 3, 2018

Linux, Fedora 27, but you'll see it on Travis CI with CentOS 6.

@saudet
Copy link
Member

saudet commented Oct 3, 2018

See here: https://travis-ci.org/bytedeco/javacpp-presets/jobs/436238096
That's failing because it doesn't find cmake though, we need to call cmake3 on CentOS.

Mark Bolstad added 2 commits October 4, 2018 14:36
Instead of patching x265, we'll execute the commands directly from the cppbuild.sh file.
@saudet
Copy link
Member

saudet commented Oct 5, 2018

Mac seems to be building fine now, but not Linux:
https://travis-ci.org/bytedeco/javacpp-presets/builds/437275915

@renderdude
Copy link
Contributor Author

renderdude commented Oct 5, 2018 via email

@saudet
Copy link
Member

saudet commented Oct 7, 2018

We can skip things like AVX for 32-bit builds. Those binaries are not used for performance anyway.

@renderdude
Copy link
Contributor Author

So the last patch fixed the compile, but now it's erroring in deploy (XCode). As it doesn't appear to be related to this patch, I assume I can ignore.

@saudet
Copy link
Member

saudet commented Oct 12, 2018

Yes, it's looking good, thanks! I'd like to do the same with other platforms before merging this though. If you could give it a try, that'd be great.

@saudet
Copy link
Member

saudet commented Oct 28, 2018

Looking good! Builds are passing on Windows. Thanks!

@saudet
Copy link
Member

saudet commented Nov 13, 2018

Do you think you could work on the builds for Android as well?

@renderdude
Copy link
Contributor Author

renderdude commented Nov 13, 2018 via email

@saudet
Copy link
Member

saudet commented Nov 13, 2018

This is pretty much it: https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments#android-arm-and-x86

It doesn't work? What message do you get with your crash?

@renderdude
Copy link
Contributor Author

renderdude commented Nov 13, 2018 via email

@renderdude
Copy link
Contributor Author

renderdude commented Nov 13, 2018 via email

@saudet
Copy link
Member

saudet commented Nov 13, 2018 via email

@renderdude
Copy link
Contributor Author

renderdude commented Nov 14, 2018 via email

@renderdude
Copy link
Contributor Author

renderdude commented Nov 14, 2018 via email

@saudet
Copy link
Member

saudet commented Nov 14, 2018 via email

@saudet
Copy link
Member

saudet commented Nov 19, 2018

Everything should work pretty much as is with r15c, for now. We'll need to do something about Clang eventually when other projects like FFmpeg and TensorFlow start supporting it, but it's not really the case for now, unfortunately.

@saudet
Copy link
Member

saudet commented Nov 19, 2018

We can add echo commands here and there too that's fine 👍 Thanks

Mark Bolstad added 3 commits November 19, 2018 14:32
Enables multilib on android-x86 and x86_64
Adds multilib capabilkity to the arm variants of android
@renderdude
Copy link
Contributor Author

renderdude commented Nov 20, 2018 via email

@saudet saudet merged commit 311eef9 into bytedeco:master Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants