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 additional linux-armhf builds #177

Merged
merged 1 commit into from
Mar 12, 2016
Merged

add additional linux-armhf builds #177

merged 1 commit into from
Mar 12, 2016

Conversation

vb216
Copy link
Member

@vb216 vb216 commented Mar 6, 2016

I've tuned the arm parameters a bit more, so they may well not run on the pi1 but should do better on pi2 + pi3.

Added them into artoolkit, flandmark, libfreenect and libdc1394 so they seem to build OK for arm too, and modified the pom.xml for flycapture so it will skip the cppbuild but produce a jar.

This means that:

mvn install -Pffmpeg -Djavacpp.platform=linux-armhf -Djavacpp.platform.compiler=arm-linux-gnueabihf-g++ -Dplatform=linux-armhf -Dplatform.compiler=arm-linux-gnueabihf-g++ -Dmaven.test.skip=true

Builds fine. So that should be I'll be able to add into Jenkins and get the produced jars automatically into Maven (either automatically on new commits, or just for tags).

(something seems up with openssl-1.0.2f - I think they've moved to version g, but I get something about needing to re run make depends with that and then build failures)

@saudet
Copy link
Member

saudet commented Mar 7, 2016

Looks good, thanks! Actually, flycapture has a version for linux-arm as well: https://www.ptgrey.com/flycapture-sdk We need register to download, but it's free. Anyway, it should work just like linux-x86, so no need to modify that pom.xml file or anything related to the flycapture module.

And could you squash everything into one commit? The easiest way is to git reset master your branch, recommit, and git push --force, and I'll merge this in. Thanks!

@vb216
Copy link
Member Author

vb216 commented Mar 7, 2016

Hm are you sure about the flycapture? I think the linux* was matching, but I got errors that it couldn't find header files, that's why I added in the skip cpp part just for linux-armhf (didn't want to mess up any existing linux stuff that worked)

+sure will sort out the squash this evening

@saudet
Copy link
Member

saudet commented Mar 7, 2016

Have you installed the FlyCapture SDK? If so, where did the header files end up being copied?

@vb216
Copy link
Member Author

vb216 commented Mar 8, 2016

closing to redo a few bits

@vb216 vb216 closed this Mar 8, 2016
@saudet
Copy link
Member

saudet commented Mar 9, 2016

You don't need to close this. Just keep on modifying your branch and the changes will automatically appear in this pull request.

@vb216 vb216 reopened this Mar 10, 2016
@vb216
Copy link
Member Author

vb216 commented Mar 12, 2016

Finally got there I think

saudet added a commit that referenced this pull request Mar 12, 2016
Expand support for the `linux-armhf` platform
@saudet saudet merged commit dfaa545 into bytedeco:master Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants