From 5705cf87480f29e4e8f72bd47aaabb04466a7582 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 8 Jan 2021 17:35:24 +0100 Subject: Revert "Replace _ARCH_ by 64/32bit in LLVM_INSTALL_DIR" This reverts commit c3fc507d3b2a502273bd92472e1e7aa459c2d13e. 29be13664858cdb7ed7cbc02d6ad496bf57a9bbd moves this handling to the coin scripts, where it belongs. Some functionality was already removed by e44e21f14d8b10b1832c5db5459bf26f287ab6e8. Task-number: PYSIDE-431 Change-Id: I7474ea17230e484a53019eb7575d3dd9839e9263 Reviewed-by: Christian Tismer --- build_scripts/utils.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'build_scripts/utils.py') diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 0cf6f6676..c2435fa17 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -687,9 +687,6 @@ def detect_clang(): clang_dir = os.environ.get(source, None) if not clang_dir: raise OSError("clang not found") - if clang_dir: - arch = '64' if sys.maxsize > 2 ** 31 - 1 else '32' - clang_dir = clang_dir.replace('_ARCH_', arch) return (clang_dir, source) -- cgit v1.2.3