Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bazel] Make pip wheels install reproducible
When installing python packages using pip, we use a custom script that invokes python directly. By default, python will timestamp bytecode files hence making the builds non-reproducible which is bad for CI. Python also uses a random seed for hash. This commit sets two environment variables when running pip that force python to use a deterministic seed and to use a fixed timestamp instead of the current time. Signed-off-by: Amaury Pouly <amaury.pouly@lowrisc.org>
- Loading branch information