Skip to content
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

Make NEURON builds reproducible #3309

Open
JCGoran opened this issue Jan 16, 2025 · 0 comments
Open

Make NEURON builds reproducible #3309

JCGoran opened this issue Jan 16, 2025 · 0 comments

Comments

@JCGoran
Copy link
Collaborator

JCGoran commented Jan 16, 2025

Overview of the feature

NEURON builds are currently not reproducible, i.e. deterministic. By this I mean if one runs the exact same build commands in the exact same source/build directories, the resulting generated files (plaintext and binary) are not identical. Optimistically, I would aim towards level 3 determinism as defined here (level 4 is probably not achievable since builds will always be machine-specific to some degree).

This would mostly be a QoL improvement to developers, since trying to find the difference in builds between 2 different commits currently requires post-processing the build files themselves (due to timestamps, hardcoded absolute paths, etc.).

Foreseeable Impact

Some refactoring needed.

  • Area(s) of change: NMODL, nocmodl (default stays the same to maintain backwards compat), perhaps others?
  • Possible issues: none that I can think of

Blockers: #3308

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

No branches or pull requests

1 participant