-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update to add v8. #50
Conversation
Looks like Travis failed. I'll take a peek and see if I can tell what happened |
Error from Travis: You'll have to update the manifest to match the name of the github repo |
Hmm... I know what happened. I did more than one publish in the forked v8
repo. It looks like after I renamed it to v8-cdep when I went back and
renamed it to v8 it's stepping on the old publish. So I need to find that
original publish and nuke it. Everything else *looks* right.
…On Mon, Sep 25, 2017 at 10:25 AM, Jomo Fisher ***@***.***> wrote:
Error from Travis:
/home/travis/build/google/cdep/smoke-test/././
downloaded-packages/downloads/com.github.gpx1000/v8/5.5.372/cdep-manifest.yml:3:
error: artifactId 'v8' from manifest did not agree with 'v8-armeabi' from
github url https://github.com/gpx1000/v8/releases/download/5.5.372/
cdep-manifest.yml [CDEP51077cd]
You'll have to update the manifest to match the name of the github repo
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADqAYySBpVyJAbfElIWgWLEKVZJX-QPhks5sl-IbgaJpZM4PjDoS>
.
|
This should force the cache to forget about the now deleted release; updating the tag that v8 uses.
CMake Error at .cdep/modules/cdep-dependencies-config.cmake:1164 (message): Looks like this will have to wait until I get a chance to add a few more ABIs. |
I'm okay with cutting armeabi from this test, but I think we'd need x86_64. |
Sounds good, I'll try to do both at some point in the future.
…On Mon, Sep 25, 2017 at 11:11 AM, Jomo Fisher ***@***.***> wrote:
I'm okay with cutting armeabi from this test, but I think we'd need x86_64.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADqAY8ESS1Y8r7oYzkJCaiufdepp0igiks5sl-y9gaJpZM4PjDoS>
.
|
Supported: x86_64 armeabi-v7a arm64-v8a x86 Excluding mips, those are all the ones that v8 has a build for that are android. (At least I believe that arm.release formula for gn is creating an armeabi-v7a and not a armeabi). ;-) |
Can you support armeabi? If not, I'm open to drop it from the test. Any chance could get rid of the final "cdep" in the version? com.github.gpx1000:v8:6.3.216-cdep -> com.github.gpx1000:v8:6.3.216 The trailing dash-fragment is supposed to be for a version for your local build (where the v8 build number stays constant). Sorry I've been slow to respond, I'm fighting a cold |
it looks like I messed up, armeabi is what arm.release outputs. So the correct label would be armeabi and no armeabi-v7a. I'll create a new release and try to get it right this time. Hope you feel better! |
2.) correct the release label to drop -cdep specifier.
hit commit too soon, now those files are up. committing again. |
CMake Error at .cdep/modules/cdep-dependencies-config.cmake:3005 (message): Also looks like I need to add in missing cflags; smoke test is a good test; need to fix the example for this new version. |
You'd need to declare which compiler features your package needs. For example, interfaces: Full list of compiler features is here. https://cmake.org/cmake/help/v3.9/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html#prop_gbl:CMAKE_CXX_KNOWN_FEATURES Note that you can jump straight to c++11 the same way with cxx_std_11. It may cut off some scenarios (maybe) |
Ah, that makes sense, thanks! I wonder if there's a possible way to make an auto generator as not all libraries use CMake; and then not all of those are going to define features. |
It also works for ndk-build but most features promote straight to the minimum language required (equivalent of cxx_std_11) |
It makes sense on the consumer side. However, when authoring packages; I can see how that could be a slight problem on the generation of the authoring of cdep-manifest.yml. Ideally, there'd be a switch to tell cmake/ndk-build to output what was required when the library is built. |
Add in link to c++ features.
I see what you mean, it isn't easy to figure out the exact set of require flags. I expect many package authors to promote cxx_std_11 (or higher). This can generally be known by looking at compiler flags (like std=c++11). Going by individual flags only makes sense if there is a need to be truly granular and there really isn't on Android platform. |
There is one further use case. The current SDK ships with two cmake binaries; cxx_std_11 was added to the list in version 3.7 of CMake. I added docs suggesting using the SDK's cmake; however, obviously can't promise that everyone isn't going to choose using the 3.6 cmake when creating a lib in a standalone project we'd want to include. |
Fix the example so it can build.
versions should match
Oh interesting point about our version of CMake not supporting cxx_std_11. We are working on removing the requirement to use our fork of CMake. |
[ 94%] Linking CXX shared library ../../../../../staging/lib/armeabi/libv8_target.so That's the only one that I didn't test locally. The rest should pass the build. I'll submit again when I get back next week. |
I've noticed that; which should solve the problem. |
Add release for armeabi to hopefully link correctly.
Looks like it all passed other than missing armeabi-v7a build. It does have armeabi, and I'm not certain there's a way to target armeabi-v7a in v8 directly. |
Hi Steven, |
Hi Jomo, |
Remove V8 from smoke test
I'm going to investigate how to get an armeabi-v7a build done and will then add back to the smoke test before the next version of V8 is released. For now as mentioned pulled it from the smoke test (left zlib in). |
Thanks! |
Add to the smoke test list.