forked from qt-creator/qt-creator
scripts: Deploy clang-format tool
The beautifier plugin can use the clang-format tool, which is statically build, and it's around 2-6 MB in size. Fixes: QTCREATORBUG-25600 Change-Id: I900f0dbfc2ba2773d3ad986c149adb41a4103e94 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -123,6 +123,8 @@ if [ $LLVM_INSTALL_DIR ]; then
|
||||
cp -Rf "$clangdsource" "$libexec_path/clang/bin/" || exit 1
|
||||
clangtidysource="$LLVM_INSTALL_DIR"/bin/clang-tidy
|
||||
cp -Rf "$clangtidysource" "$libexec_path/clang/bin/" || exit 1
|
||||
clangformatsource="$LLVM_INSTALL_DIR"/bin/clang-format
|
||||
cp -Rf "$clangformatsource" "$libexec_path/clang/bin/" || exit 1
|
||||
clazysource="$LLVM_INSTALL_DIR"/bin/clazy-standalone
|
||||
cp -Rf "$clazysource" "$libexec_path/clang/bin/" || exit 1
|
||||
install_name_tool -add_rpath "@executable_path/../lib" "$libexec_path/clang/bin/clazy-standalone" 2> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user