So I was attempting to get a build of this CAF tag (https://source.codeaurora.org/quic/la/platform/manifest/commit/?h=LA.UM....) going for my OnePlus 6 using Snapdragon 845. I started work on the device tree, but couldn't get past an error with using SDClang. You can see my steps here: https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-llvm...
So, I assumed the error was with my device tree. To test this, I tried a build of lunch target sdm845-userdebug straight from CAF sync. No source modifications were performed. I synced the code, ran . build/envsetup.sh, lunch (choosing #41 sdm845-userdebug) and then make. I get this error: https://pastebin.com/rAgXJ1wQ
This is the same error I was getting with my custom device. Therefore, the error is not with my setup.
So, the question is, how can I solve this error, for this build (sdm845-userdebug) and then for my custom device afterwards? Just to note, I see the steps for using SDClang are to use this path
prebuilts/clang/linux-x86/host/ but my CAF repo has 2 of the folders swapped:
I've also added the required lines to sdm845 boardconfig.mk for sdclang.
Maybe I've been going about this the complete wrong way though, so if anyone could help out that would be appreciated. Thanks :)