diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-04 14:36:34 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-04 18:47:07 +0000 |
commit | 609b1cd7ab8514354c93249e8a295e5e907d8de9 (patch) | |
tree | 22ed51ff06dc059823df2e1c62a20de250bc4ecc /build_scripts | |
parent | d62d598031c369ab1e36dceb2d9a21d33cb4be13 (diff) |
Further cleanup of CMakeLists
Remove some remains of Python2 and Qt 5 and some
unused options.
Task-number: PYSIDE-1339
Task-number: PYSIDE-904
Change-Id: Ic9c7d4048b6be0cdeb0f5cc9b23d13b1702f1bdc
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts')
-rw-r--r-- | build_scripts/utils.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 9f6d472cc..2ed0e2a2c 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -669,28 +669,6 @@ def find_glob_in_path(pattern): return result -# Locate the most recent version of llvm_config in the path. -def find_llvm_config(): - version_re = re.compile(r'(\d+)\.(\d+)\.(\d+)') - result = None - last_version_string = '000000' - for llvm_config in find_glob_in_path('llvm-config*'): - try: - output = run_process_output([llvm_config, '--version']) - if output: - match = version_re.match(output[0]) - if match: - version_string = "{:02d}{:02d}{:02d}".format(int(match.group(1)), - int(match.group(2)), - int(match.group(3))) - if (version_string > last_version_string): - result = llvm_config - last_version_string = version_string - except OSError: - pass - return result - - # Add Clang to path for Windows for the shiboken ApiExtractor tests. # Revisit once Clang is bundled with Qt. def detect_clang(): |