Skip to content

Conversation

@hongxu-jia
Copy link

In order to support reproducible builds [1], while using bison to generate source code, add option --file-prefix-map [2] to remove build path prefix in the generated header file.

[1] https://reproducible-builds.org/
[2] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=dd878d18519689c7bbcd72de4c9f9e53085a3cbf

In order to support reproducible builds [1], while using bison to generate
source code, add option --file-prefix-map [2] to remove build path prefix
in the generated header file.

[1] https://reproducible-builds.org/
[2] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=dd878d18519689c7bbcd72de4c9f9e53085a3cbf

Signed-off-by: Hongxu Jia <[email protected]>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@svoj svoj added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Nov 15, 2025
@grooverdan
Copy link
Member

note full ci results - RHEL-8, AlmaLinxu 8, OpenSUSE-15 (but not 16), SLES and Windows have a bison version older than 3.6.3(?) when this was introduced.

The reproducibility this adds is when its built in the same environment in different paths? Can you elaborate why its important and to what degree this improves the reproducibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

4 participants