[php-src] PR #12035: Print host CPU info in CI build log on Linux
| From: | alexdowad | Date: | Wed, 23 Aug 2023 12:12:26 +0000 |
| Subject: | [php-src] PR #12035: Print host CPU info in CI build log on Linux | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23452@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12035
Author: alexdowad
On one of the nightly CI builds last week, there were test failures in mbstring which appear like
they might be related to SIMD-accelerated code. The function which failed testing has multiple
implementations, and the specific implementation which is used depends on the features of the host
CPU and the build configuration.
The CI build log does not offer any clues about what implementation was actually used when the tests
failed. If the same thing happens again, it will be helpful to (at least) know what CPU features the
host CPU supports. This will also be helpful when diagnosing any other CI build failures which
relate to CPU-specific code.
It would be better to print even more information about the build configuration. It would also be
better to print host CPU information on Windows CI builds as well. However, this commit is an
improvement over the present state.