aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2021-04-29 16:46:50 +0200
committerCristian Adam <cristian.adam@qt.io>2021-04-30 07:42:16 +0000
commitd1c49da8791a9d9434d1df92215b10f6ed0ca5a1 (patch)
treed5ba85864f581c5fb7eecdfeb3a4b413018cf8bd
parent0fe426ef8f6cdb0c2a54f53570ebd73c35023a0b (diff)
QtCreator_libclang: Disable usage of zlib and terminfov6.1.0-packagingv6.0.4-packaging
We don't need these features and it causes problems when consuming the llvm libraries. Change-Id: I82d93d623755ffa8c790706466bea5c1378a117d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--packaging-tools/build_clang.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging-tools/build_clang.py b/packaging-tools/build_clang.py
index e24cd0b74..a4a985285 100644
--- a/packaging-tools/build_clang.py
+++ b/packaging-tools/build_clang.py
@@ -341,6 +341,8 @@ def cmake_command(toolchain, src_path, build_path, install_path, profile_data_pa
'-DCMAKE_BUILD_TYPE=' + build_type,
'-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON',
'-DLLVM_ENABLE_LIBXML2=OFF',
+ '-DLLVM_ENABLE_ZLIB=OFF',
+ '-DLLVM_ENABLE_TERMINFO=OFF',
'-DLLVM_TARGETS_TO_BUILD=X86',
'-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra',
"-DLLVM_LIT_ARGS='-v'"]