commit | 82aaba037aa922a6aa0e118f8cc04531becc42cd | [log] [tgz] |
---|---|---|
author | Nan Zhou <nanzhoumails@gmail.com> | Fri Sep 16 00:21:07 2022 +0000 |
committer | Nan Zhou <nanzhoumails@gmail.com> | Fri Sep 16 23:11:15 2022 +0000 |
tree | dc5132cd424271b6ed056af98305c55a0d749e90 | |
parent | 524ebee8f2ddd998ca99ceaba9b9648fcba19c2e [diff] |
clang-tidy: use TemporaryDirectory This patch changes clang-tidy build of cmake and meson to use TemporaryDirectory. So that no need to explicitly delete the build directory. There is no need to hardcode the name as well. I kept the prefix of the temp folder to be "build". This is to make gitignore of most repos still work. Tested: 1. used phosphor-user-manager as a typical meson repo. Tested with/without clang-tidy. Both worked 2. used peci-pcie as a typical CMakeList repo. Tested with/without clang-tidy. Both worked (but the repo itself doesn't pass clang build bacause of its own reason) Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Ic355e390db7349ded73ad3d17a03a40b83460249
Build script for CI jobs in Jenkins.