Home | History | Annotate | Download | only in build

Lines Matching full:clang

2 CLANG_PACKAGE=clang
6 # Check if clang is already installed on current system
7 clang_path=`which clang`
9 # if clang binary is avalable, check its version
10 clang_version=$($clang_path --version | grep clang | sed "s/.*version\s*\([0-9]*\.[0-9]*\).*/\1/")
14 # if the version is greater than 3.5 then do not install clang here
16 echo "Detected clang $clang_version"
22 # Try to find clang from a known list
25 clang_path=`which clang-$clang_version`
27 echo "Detected clang-$clang_version"
35 echo "clang not found on current system, installing"
43 echo "Choose clang-3.8 for Ubuntu 14 and below"
44 CLANG_PACKAGE=clang-3.8