Skip to content

Improve compiler comparison script #3818

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

Merged

Conversation

spiessimon
Copy link
Contributor

This PR makes a few minor improvements to the compiler comparison script:

  • Adds more documentation for the environment variables that can be set.
  • Adds support for an environment variable to set autoconf.
  • Ensures that the git arguments refer to valid references.
  • Ensures that the target directory for the comparison is not root.
  • Explicitly asks before emptying the target directories for the resulting compilers.
  • Removes the temporary folder that is used for building upon exit.
  • Uses a single install directory to make sure that the resulting assembly files match.
  • Tweaks the copying to have the intended behavior on all systems.

@mshinwell mshinwell merged commit 92a7b33 into ocaml-flambda:main Apr 7, 2025
26 checks passed
gretay-js pushed a commit to gretay-js/flambda-backend that referenced this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants