Hacker News new | ask | show | jobs
by trulyrandom 805 days ago
This requires a more comprehensive redesign of the build process. Most Linux distributions also run the tests of the project they're building as part of the build process.
1 comments

The code that runs during testing should not be allowed to affect the package though. If this is possible, this is misdesigned.
Profile guided optimization is, unfortunately, wildly powerful. And it has a hard requirement that a casual link exists from test data (or production data!) to the build process.