<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61437>61437</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Long build cycle time on the bots
</td>
</tr>
<tr>
<th>Labels</th>
<td>
build-problem,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
sivachandra
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sivachandra
</td>
</tr>
</table>
<pre>
The change to run all libc tests unconditionally, irrespective of the freshness of the dependencies, not only increased the developer write-test-debug cycle time, but has also increased the cycle time of the bots beyond [acceptable limits](https://llvm.org/docs/HowToAddABuilder.html#best-practices-for-configuring-a-fast-builder). This tracker is about putting in place a strategy to reduce the developer and bot cycle time:
1. Provide CMake config options to run tests only when dependencies are out of date.
2. On the bots, we will run the unit-tests only if dependencies are out of date.
3. On the other hand, integration tests will be run irrespective of the freshness of the dependencies. This is because, only the libc integration tests have the potential to be flaky (very likely due to a real bug). So, running them always helps us catch the flaky tests.
4. Bots for certain platforms, for example the GPU platform where flakiness can be more wide spread, can choose to always run unit tests also. This is possible because of options provided in (1) above.
@jhuber6 , @kaladron
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMmO6zYQ_Br60rAhU5KXgw4zbzDJIUEekMkHNMmWyGeKFLjY8d8HlORZXi7JRQK4VBerqhtjNIMj6lj7zDiP5opSo1MBGeesfdlgTtqH7tPGRnh17940QVkYCJKHkB2gtWCNkJAopgjZSe-UScY7tPbO-DcwIVCcSCZzJfA9JE3QB4raUYyPBUUTOUVOGorlkvMJvLN3ME4GwkhqPXYl6ycKcAsm0bYU3SoSeQB5l5YgmZHKfZETaIyANvqfMD4OPooLnyIIunungLXPKCVNCYUlsGY0KbL2hfGTTmmKrH5i_JXxV2uv486HgfFX5WVk_PVXf3vzT0o9PWdjFYWdTqNlvBaF4xRQJiMpbnsfttK73gw5GDdscdtjTFuxXGL8vIM3bSKkgPJCAUwEFD4nmHJKxg1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