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 NDK version to tags #94

Open
psyhtest opened this issue Apr 15, 2019 · 0 comments
Open

Add NDK version to tags #94

psyhtest opened this issue Apr 15, 2019 · 0 comments
Assignees

Comments

@psyhtest
Copy link
Contributor

psyhtest commented Apr 15, 2019

I have several NDKs installed:

android-ndk-r13b/ android-ndk-r17b/ android-ndk-r18b/

and some compilers detected:

anton@velociti:~$ ck show env --tags=compiler,android
Env UID:         Target OS:      Bits: Name:                     Version: Tags:

1c70f43a4910bf0c android28-arm64    64 Android NDK LLVM compiler 7.0.2    64bits,android,compiler,host-os-linux-64,lang-c,lang-cpp,llvm,ndk,target-os-android28-arm64,v7,v7.0,v7.0.2
fbe5a0899e47cda8 android28-arm64    64 Android NDK GCC compiler  clang    64bits,android,compiler,gcc,host-os-linux-64,lang-c,lang-cpp,ndk,target-os-android28-arm64,v0
f58acb20767b3ac2 android24-arm64    64 Android NDK LLVM compiler 6.0.2    64bits,android,compiler,host-os-linux-64,lang-c,lang-cpp,llvm,ndk,target-os-android24-arm64,v6,v6.0,v6.0.2
9a7394e1429c8ed0 android24-arm64    64 Android NDK GCC compiler  4.9.x    64bits,android,compiler,gcc,host-os-linux-64,lang-c,lang-cpp,ndk,target-os-android24-arm64,v4,v4.9,v4.9.0

It's not easy, however, to see which NDKs the compilers come from:

$ ck cat env --tags=compiler,android | grep CK_ENV_COMPILER.*BIN | grep -v PATH
export CK_ENV_COMPILER_GCC_BIN=/home/anton/data/android-ndk-r17b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin
export CK_ENV_COMPILER_LLVM_BIN=/home/anton/data/android-ndk-r17b/toolchains/llvm/prebuilt/linux-x86_64/bin
export CK_ENV_COMPILER_GCC_BIN=/home/anton/data/android-ndk-r18b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin
export CK_ENV_COMPILER_LLVM_BIN=/home/anton/data/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin

I guess that LLVM 6.0.2 and GCC 4.9.x are in NDK r17b, while LLVM 7.0.2 (and a weird GCC clang) is in NDK r18b, but it would be better to include the NDK version in the tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants