diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-01-08 11:22:33 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-01-08 13:04:11 +0100 |
commit | 01b1d3218d70d128fe6c2f2ce3e6dce74608adaa (patch) | |
tree | a458115610f2c73e0304a193b756e8a9b6120d3d /coin_build_instructions.py | |
parent | 65a77910f1fa065b8a113be150d2134fc2df9fe7 (diff) |
Windows: Fix running the example tests in COIN
Move the logic expanding the Clang-related variables introduced by
c3fc507d3b2a502273bd92472e1e7aa459c2d13e to the COIN scripts since
they are needed when building the sample binding.
c3fc507d3b2a502273bd92472e1e7aa459c2d13e should then be reverted.
Task-number: PYSIDE-431
Change-Id: I1f118fdbd8989b7b9e3d24a249af81f4020c73f3
Reviewed-by: Simo Fält <simo.falt@qt.io>
Diffstat (limited to 'coin_build_instructions.py')
-rw-r--r-- | coin_build_instructions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py index 95d800b56..d1e578fd7 100644 --- a/coin_build_instructions.py +++ b/coin_build_instructions.py @@ -38,7 +38,7 @@ ############################################################################# from build_scripts.options import has_option from build_scripts.options import option_value -from build_scripts.utils import install_pip_dependencies +from build_scripts.utils import install_pip_dependencies, expand_clang_variables from build_scripts.utils import get_qtci_virtualEnv from build_scripts.utils import run_instruction from build_scripts.utils import rmtree @@ -175,6 +175,8 @@ def run_build_instructions(phase): if __name__ == "__main__": # Remove some environment variables that impact cmake + arch = '32' if CI_TARGET_ARCH and CI_TARGET_ARCH == 'X86' else '64' + expand_clang_variables(arch) for env_var in ['CC', 'CXX']: if os.environ.get(env_var): del os.environ[env_var] |