aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/build_wrapper.py
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-05-29 09:45:19 +0200
committerEike Ziller <eike.ziller@qt.io>2018-05-29 10:23:24 +0000
commit6e58586f41be77b0d501e36bc2d7d917140d7ddf (patch)
tree32893c39cd16abcae14650d9529f486ae426b259 /packaging-tools/build_wrapper.py
parent4996648991d02f5cb3c183853b25d16582f16352 (diff)
Qt Creator: Revert qdoc/libclang hack
qdoc is linked statically against libclang in 5.11.0 now. This reverts commit 3b32ac8d71908f945d8a5a8820cd085b3830cc1a. This reverts commit 5c4576ac2c25cc51e55f59dddd5ea3c790379ad9. This reverts commit 1a18d35935c9e369db39de529db63f64f83a44d1. This reverts commit 7d204c5d7b36a875a9983d0493f947f467fac29c. This reverts commit 769438fde20399c298bc273bb2cdbb186aa346c7. Change-Id: If4c798ed239c6b2fb3c6e14fc7ac298750925bee Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'packaging-tools/build_wrapper.py')
-rw-r--r--packaging-tools/build_wrapper.py14
1 files changed, 3 insertions, 11 deletions
diff --git a/packaging-tools/build_wrapper.py b/packaging-tools/build_wrapper.py
index c28dc0042..d16232539 100644
--- a/packaging-tools/build_wrapper.py
+++ b/packaging-tools/build_wrapper.py
@@ -436,9 +436,7 @@ def make_QtcPlugin(name, path, version, dependencies=None, modules=None,
qmake_arguments=qmake_arguments or [],
build=build)
-def build_qtcreator_plugins(plugins, qtcreator_path, qtcreator_dev_path, icu_url=None, openssl_url=None, build_environment=None):
- if not build_environment:
- build_environment = dict(os.environ)
+def build_qtcreator_plugins(plugins, qtcreator_path, qtcreator_dev_path, icu_url=None, openssl_url=None):
work_dir = optionDict['WORK_DIR']
for plugin in plugins:
if not plugin.build or not os.path.isdir(os.path.join(work_dir, plugin.path)):
@@ -486,7 +484,7 @@ def build_qtcreator_plugins(plugins, qtcreator_path, qtcreator_dev_path, icu_url
cmd_arguments.extend(['--out-dev', os.path.join(work_dir, plugin.name + '_dev.7z')])
cmd_arguments.append('--cleanup')
cmd_arguments.append(os.path.join(work_dir, plugin.name + '.7z'))
- bldinstallercommon.do_execute_sub_process(cmd_arguments, work_dir, extra_env=build_environment)
+ bldinstallercommon.do_execute_sub_process(cmd_arguments, work_dir)
# source package
if bldinstallercommon.is_linux_platform():
bldinstallercommon.do_execute_sub_process(['python', '-u', os.path.join(qtcreator_dev_path, 'scripts', 'createSourcePackages.py'),
@@ -761,12 +759,6 @@ def handle_qt_creator_build(optionDict, qtCreatorPlugins):
download_packages_work.addTaskObject(bldinstallercommon.create_download_extract_task(
opt_clang_url, opt_clang_path, download_temp, None))
- # TODO temporary workaround for qdoc not finding a suitable libclang in the system QTBUG-66015
- qdoc_clang_extract_path = os.path.join(download_temp, 'libclang-qdoc')
- qdoc_clang_url = ('http://download.qt.io/development_releases/prebuilt/libclang/libclang-release_60-' + optionDict['QTC_PLATFORM'] + '.7z')
- download_packages_work.addTaskObject(bldinstallercommon.create_download_extract_task(qdoc_clang_url, qdoc_clang_extract_path, download_temp, None))
- build_environment['QDOC_LLVM_INSTALL_DIR'] = os.path.join(qdoc_clang_extract_path, 'libclang')
-
if elfutils_url:
elfutils_path = os.path.join(download_temp, 'elfutils')
download_packages_work.addTaskObject(bldinstallercommon.create_download_extract_task(
@@ -920,7 +912,7 @@ def handle_qt_creator_build(optionDict, qtCreatorPlugins):
'-o' + qtcreator_path], work_dir)
bldinstallercommon.do_execute_sub_process(['7z', 'x', '-y', os.path.join(work_dir, 'qt-creator_build', 'qtcreator_dev.7z'),
'-o' + qtcreator_dev_path], work_dir)
- build_qtcreator_plugins(additional_plugins, qtcreator_path, qtcreator_dev_path, icu_url=icu_local_url, openssl_url=openssl_local_url, build_environment=build_environment)
+ build_qtcreator_plugins(additional_plugins, qtcreator_path, qtcreator_dev_path, icu_url=icu_local_url, openssl_url=openssl_local_url)
if bldinstallercommon.is_linux_platform():
# summary of git SHA1s