-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support deterministic builds #4580
Labels
Comments
Thanks for reaching out @joaohf and for giving a it a try to build CouchDB with a deterministic option. We could probably even make that a configure option or even the default. Good find about .d .o files we do not need to install those with the release. It's an omission on our part. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Prepare couchdb to support deterministic builds.
Desired Behaviour
For same use cases deterministic build is necessary. Erlang 25 supports that via compile flags like:
In fact, when setting ERL_COMPILER_OPTIONS to
deterministic
the couchdb build as expected. However a few things should be fixed:I'm building couchdb using Yocto Project and there is a quality assurance step which verifies if all installed files do not have references to the build host paths. It looks like the file: /opt/couchdb/releases/RELEASES has some build paths inside the file.
The Makefile says to install the output from rel/couchdb into the destination folder:
But installing everything from rel/couchdb also brings some compilation files (.d, .o), I think these files is not necessary to be installed:
The text was updated successfully, but these errors were encountered: