dart-sdk/third_party/binaryen/.gitignore
Jonas Termansen 5c9d67edcd Fix binaryen build being unreproducible.
The source files were linked in filesystem order rather than sorted
order, which meant the binaryen programs were not built reproducibly.

The binaryen config.h contains the version of the binaryen based on the
git tag, however gclient sync does not pull down additional git tags
when the checkout is updated. Effectively the git tags are frozen and
the wrong version may be reported, leading to divergent builds and lack
of remote build cache sharing. Use the git commit instead.

Fix the gitignore rules to not ignore the files actually checked into
the Dart SDK.

Fixes: b/333761738
Change-Id: Ib2d812a04e629e5ce3da7185869051e30457d7e2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362187
Commit-Queue: Jonas Termansen <sortie@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Auto-Submit: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2024-04-10 21:35:39 +00:00

3 lines
7 B
Plaintext