Skip to content
Snippets Groups Projects
Commit 26e669ba authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

cm: Autodetect SDCLANG in prebuilts/snapdragon-llvm

 * Will be used by the build servers

Change-Id: I5d31a7c41adc283cb9336314e9d54412cc740e9e
parent 082e0ec0
No related branches found
No related tags found
No related merge requests found
......@@ -934,3 +934,10 @@ function fixup_common_out_dir() {
mkdir -p ${common_out_dir}
fi
}
# Enable SD-LLVM if available
if [ -d $(gettop)/prebuilts/snapdragon-llvm/toolchains ]; then
export SDCLANG=true
export SDCLANG_PATH=$(gettop)/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_3.8/prebuilt/linux-x86_64/bin
export SDCLANG_LTO_DEFS=$(gettop)/device/qcom/common/sdllvm-lto-defs.mk
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment