-
Notifications
You must be signed in to change notification settings - Fork 19
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
Reproducible jars #28
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the long run, it would be nice to generate jars deterministically.
To my knowledge, it is not a Clojure specific issue, the whole JVM ecosystem is affected.
A paper discussing this topic: https://arxiv.org/abs/2202.05906
The authors mention a tool (JavaBEPFix) to post-process the generated jars, making them deterministic in most cases. Unfortunately, I was not able to find any information about JavaBEPFix (I don't think it is open source). Recently I discover byte-buddy, maybe it could be used to generate jars deterministically.
An issue specific to Clojure is non-deterministic AOT function names, more details about it here:
https://github.com/griffinbank/rules_clojure#known-issues
The text was updated successfully, but these errors were encountered: