forked from qt-creator/qt-creator
scripts: Do not deploly clang and clang-cl executables
They were used in debugging of the libclang code model, and having only the compiler is not very useful. Users can install complete LLVM toolchains from llvm.org Change-Id: If19a0b75c8505ba7589b377292bd96f855e91c00 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -238,7 +238,7 @@ def deploy_clang(install_dir, llvm_install_dir, chrpath_bin):
|
||||
clanglibdirtarget = os.path.join(install_dir, 'bin', 'clang', 'lib')
|
||||
if not os.path.exists(clanglibdirtarget):
|
||||
os.makedirs(clanglibdirtarget)
|
||||
for binary in ['clang', 'clang-cl', 'clangd', 'clang-tidy', 'clazy-standalone']:
|
||||
for binary in ['clangd', 'clang-tidy', 'clazy-standalone']:
|
||||
binary_filepath = os.path.join(llvm_install_dir, 'bin', binary + '.exe')
|
||||
if os.path.exists(binary_filepath):
|
||||
deployinfo.append((binary_filepath, clangbindirtarget))
|
||||
@@ -248,7 +248,7 @@ def deploy_clang(install_dir, llvm_install_dir, chrpath_bin):
|
||||
clangbinary_targetdir = os.path.join(install_dir, 'libexec', 'qtcreator', 'clang', 'bin')
|
||||
if not os.path.exists(clangbinary_targetdir):
|
||||
os.makedirs(clangbinary_targetdir)
|
||||
for binary in ['clang', 'clangd', 'clang-tidy', 'clazy-standalone']:
|
||||
for binary in ['clangd', 'clang-tidy', 'clazy-standalone']:
|
||||
binary_filepath = os.path.join(llvm_install_dir, 'bin', binary)
|
||||
if os.path.exists(binary_filepath):
|
||||
deployinfo.append((binary_filepath, clangbinary_targetdir))
|
||||
|
Reference in New Issue
Block a user