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

Clean up automatically after Extraction TestCompile #145

Open
JasonGross opened this issue Mar 4, 2023 · 1 comment
Open

Clean up automatically after Extraction TestCompile #145

JasonGross opened this issue Mar 4, 2023 · 1 comment

Comments

@JasonGross
Copy link
Owner

Also maybe the minimizer could handle some tmp cleanup itself? something like

( export TMPDIR=$(mktemp -d)
  coqc ...
  rm -rf $TMPDIR
)

Originally posted by @SkySkimmer in coq/coq#16683 (comment)

@JasonGross
Copy link
Owner Author

We already create directories in /tmp for compiling the file, we can just create a subdirectory to be TMPDIR, and set the environment variables appropriately

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