[LLVMdev] Clang now included in Android NDK r8c

Greg Fitzgerald garious at gmail.com
Thu Jan 31 17:01:04 PST 2013

Hi LLVM Android NDK developers,

I was curious how clang was built for this release, but didn't find the
llvm-setup executable in the NDK.  Can you share how your build was
configured here?

And I see the Chromium build distributes a separate version of clang that
looks to be somewhere beyond the 3.2 release.  Has there been any talk of
both Android and Chromium sharing the same clang?  Or is it that Chromium
needs to be on the bleeding edge for the Native Client stuff?  ...or
something like that?


On Wed, Nov 14, 2012 at 7:19 AM, David Turner <digit at android.com> wrote:

> cc +andrewhsieh +loganchien
> On Tue, Nov 13, 2012 at 11:21 PM, Joe Abbey <jabbey at arxan.com> wrote:
>> Hats off to the Android NDK team!
> Thanks for including me here, but I'd like to clarify that this is all
> from the really hard work of Andrew Hsieh and Logan Chien, and a few other
> Android engineers.
> (I'm actually not working on Android anymore, Andrew and Logan have taken
> over the NDK a year ago, and as you can see, they've been *very*productive :-))
> Congrats to them then !
> - David
> http://developer.android.com/tools/sdk/ndk/index.html
>> Important changes:
>>    - Added the Clang 3.1 compiler to the NDK. The GNU Compiler
>>    Collection (GCC) 4.6 is still the default, so you must explicitly enable
>>    the Clang compiler option as follows:
>>       - For ndk-build, export NDK_TOOLCHAIN_VERSION=clang3.1 *or* add
>>       this environment variable setting toApplication.mk.
>>       - For standalone builds, add --llvm-version=3.1 to
>>       make-standalone-toolchain.sh and replace CC andCXX in your
>>       makefile with <tool-path>/bin/clang and <tool-path>/bin/clang++.
>>       See STANDALONE-TOOLCHAIN.html for details.*
>>       Note:* This feature is experimental. Please try it and report any
>>       issues <http://code.google.com/p/android/issues/list>.
>> Joe
>>  *______________________________*
>> *Joe Abbey*
>> Director of Software Development
>> Arxan Technologies
>> jabbey at arxan.com www.arxan.com
>>  Protecting the App Economy™
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130131/1bbd7056/attachment.html>

More information about the llvm-dev mailing list