Forums - Compiling android kernel with Snapdragon LLVM Compiler

2 posts / 0 new
Last post
Compiling android kernel with Snapdragon LLVM Compiler
jjmccormick
Join Date: 29 Nov 17
Posts: 1
Posted: Mon, 2017-12-18 14:57
Hello all, I've been attempting to build the kernel for my android device (this one in particular) as part of a learning exercise. As well as comparing performance to the prebuilt version im using now. I follow the directions to install it into ndk. Then i use the make standalone script, putting them in another directory. When making the i run these commands. export PATH=$PATH:/bin make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- CC=clang CXX=clang++ -j(#cores) When running i get errors regarding build flags and files. I am currently on mobile build can post output if need be. From what ive found so far, it seems some patches may be in order to fix it but I couldn't find anything about that. Thanks guys!
  • Up0
  • Down0
jake.weinstein
Join Date: 11 Feb 13
Posts: 44
Posted: Fri, 2017-12-22 09:57

This is Google's initial integration: https://android.googlesource.com/kernel/common/+log/android-4.4-llvm

 

Pick commits after  Merge 4.4.91 into android-4.4 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.