forked from official-stockfish/fishtest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove cached binaries on worker startup
as the user could change the compiler at worker startup time (e.g. clang vs gcc), the binary cache might contain binaries compiled with a different compiler than the ones generated by the worker. As different compilers lead to binaries of different speed, test results could be biased, unless we assure that the same compiler is used for both base and new test. This patch just clears the binary cache once at worker startup, leaving the caching mechanism unchanged otherwise. Possibly the binary cache should also be flushed on worker update (e.g. the architecture selection logic might change). This is not implemented. fixes official-stockfish#1666
- Loading branch information
1 parent
d00af79
commit e913abb
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"__version": 210, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "Rbz9q1bCKE2MsrtUV3ywqP8tci1ao531KY26g6ZreiLnS9OnYlRJXmGBZap84CG/", "games.py": "7m8vZuGULuOtXGPuw6pxnu8BEW4DYjcf7RyRhzwB2XyeL783gaEDSc/ZsIUq+1zg"} | ||
{"__version": 210, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "VQgNFEcvtmOvmRaSYTiLOgXXQ9ZXx/Pvi1ZR16mjy6DgbxuO3rmLEsWb9odsGt1x", "games.py": "au3WiGyUAb26mcz5C2MhnU7rhe8X3JMEgnyUlo4aAH+dPjxnXCZrWh9xFjdNQoFZ"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters