|
|
@ -17,8 +17,8 @@ PLUGIN_DIR="$INFER_ROOT/facebook-clang-plugins"
|
|
|
|
CLANG_EXEC="$PLUGIN_DIR/clang/bin/clang"
|
|
|
|
CLANG_EXEC="$PLUGIN_DIR/clang/bin/clang"
|
|
|
|
|
|
|
|
|
|
|
|
# check if clang is available
|
|
|
|
# check if clang is available
|
|
|
|
if ! $CLANG_EXEC --version 2>&1 | grep -q '3\.6'; then
|
|
|
|
if [ ! -f $CLANG_EXEC ]; then
|
|
|
|
echo "The required version of clang has not been found in $CLANG_EXEC" && exit 1
|
|
|
|
echo "Clang has not been found in $CLANG_EXEC" && exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# install facebook-clang-plugins
|
|
|
|
# install facebook-clang-plugins
|
|
|
|