Skip to content

Use clang on travis with Android - #652

Merged
briansmith merged 2 commits into
briansmith:masterfrom
tomaka:clang-android-travis
May 18, 2018
Merged

briansmith merged 2 commits into
briansmith:masterfrom
tomaka:clang-android-travis

Conversation

@tomaka

@tomaka tomaka commented May 16, 2018

Copy link
Copy Markdown
Contributor

Follow-up of #633

@tomaka

tomaka commented May 16, 2018

Copy link
Copy Markdown
Contributor Author

The travis failure is due to the fact that the inline assembly uses thumb-2 instructions.

According to this page, we are supposed to use the thumb- targets, which makes sense to me.

I'm not sure why it works for gcc, but I suppose that gcc doesn't follow the same system.
I'm also confused as to how Parity successfully compiles despite the fact that is uses clang and a git version of ring (so no precompiled header).

@coveralls

coveralls commented May 16, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at ?% when pulling 7b26072 on tomaka:clang-android-travis into ee13e73 on briansmith:master.

@briansmith

Copy link
Copy Markdown
Owner

According to this page, we are supposed to use the thumb- targets, which makes sense to me.

Let's change this PR to use the thumb targets so the CI build step passes.

@briansmith

Copy link
Copy Markdown
Owner

Let's change this PR to use the thumb targets so the CI build step passes.

Never mind,I don't think that's the right solution. I think I have a fix. Working on it.

@briansmith

Copy link
Copy Markdown
Owner

I'm also confused as to how Parity successfully compiles despite the fact that is uses clang and [...]

I bet Parity is using a newer version of the NDK and/or clang or whatever and I bet that is the solution here. Any tips on how to get ring's CI to work more like Parity's?

@tomaka
tomaka force-pushed the clang-android-travis branch from dd7236f to 8ced5ce Compare May 18, 2018 12:15
@tomaka
tomaka force-pushed the clang-android-travis branch from 8ced5ce to 7b26072 Compare May 18, 2018 12:46
@tomaka

tomaka commented May 18, 2018

Copy link
Copy Markdown
Contributor Author

Tests seem to pass on travis 🎉

@briansmith
briansmith merged commit 22a5605 into briansmith:master May 18, 2018
@briansmith

Copy link
Copy Markdown
Owner

Thanks! Merged.

@tomaka
tomaka deleted the clang-android-travis branch May 19, 2018 15:04
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.

3 participants