diff options
author | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2019-06-03 13:35:41 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2019-06-12 11:16:57 +0000 |
commit | 82840d2660202c6d8f3c53ad1d620667901cb954 (patch) | |
tree | 63b0fe40bed033678d6b357e4109c043b147f368 /examples/network/http | |
parent | ce11410caa6b2ba94a88a1368b379df96839f865 (diff) | |
download | qtbase-82840d2660202c6d8f3c53ad1d620667901cb954.tar.gz |
Implement command prefix
The current CI magically add prefix to every executed command if
target compiler is MSVC. The prefix just calls vcvarsall.bat.
The script has to be called for every command, because of the CI
agent runs every command as a subprocess. It means that script
sourced environment is not passed to subsequent commands,
therefore all changes are lost.
The prefix, as a concept, has known performance issues (COIN-253),
so in long term it would be nice to move to another solution.
CustomModule doesn't support prefix. Therefore the proposed approach
moves the ugliness from CI code to the yaml configuration file.
It has two advantages; nothing needs to be implemented on the CI
level and hopefully someone in future will clean it up as
the problem is more visible and publicly fixable.
Change-Id: Ice3cff89e3a59b2a57e675b7892fde0d04433ba8
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'examples/network/http')
0 files changed, 0 insertions, 0 deletions