Skip to content
Permalink
Browse files Browse the repository at this point in the history
hash: add example patch links
  • Loading branch information
bmwiedemann committed Apr 1, 2020
1 parent 3a76e40 commit 53d4263
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hash/README.md
Expand Up @@ -15,3 +15,12 @@ export PYTHONHASHSEED=0
Which will tell perl, python and Qt's QHash to use a constant hash seed instead of a randomized one.

Another correct approach when a build process depends on output from a hash is to sort the keys of the hash and explicitly output it in the order of the keys.

Observed in the wild:

* C++ [llvm](https://reviews.llvm.org/D50559)
* C++ [gcc](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90778)
* go [rclone](https://github.com/rclone/rclone/pull/3289)
* perl [HSAIL-Tools](https://github.com/HSAFoundation/HSAIL-Tools/pull/51)
* perl [yast-x11](https://github.com/yast/yast-x11/pull/18)
* salt [bind-formula](https://github.com/saltstack-formulas/bind-formula/pull/110/commits/7f500766e0d9aec76522feb89e02bd1f3b0b7d42)

0 comments on commit 53d4263

Please sign in to comment.