Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
1.15.0
-
None
-
-
6a945fd22293fb81e0ec6ff75cac9dc7346c230d (qbs/qbs/master)
Description
The toolchain detection fails on Appveyor CI platform.
Example Installing Qbs with Chocolatey on Appveyor:
image: Visual Studio 2019 install: - cinst qbs - qbs setup-toolchains --detect
Fails:
… Trying to detect clang... Profile 'clang' created for 'C:/Program Files/LLVM/bin/clang.exe'. Profile 'cov-internal-clang' created for 'C:/Tools/Coverity/bin/cov-internal-clang.exe'. WARNING: Using clang on Windows requires a mingw installation. Please set qbs.sysroot accordingly for profile 'clang'. WARNING: Using clang on Windows requires a mingw installation. Please set qbs.sysroot accordingly for profile 'cov-internal-clang'. Failed to run compiler 'C:/Tools/Coverity/bin/cov-internal-emit-clang.exe': Unknown error Command exited with code 1
Full example: https://ci.appveyor.com/project/arBmind/rebuild-experimental-compiler/builds/29745983
I guess this "failed to run compiler" error should be ignored by simply skipping this toolchain candidate.
It would also be nice if we can limit the detection with an option, like "--type msvc" to speed up the detection and work around failures in some probes.