-
Notifications
You must be signed in to change notification settings - Fork 483
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
add uninstall support #1604
add uninstall support #1604
Conversation
Thanks for setting up this feature, Michael! Not having clear uninstallation instructions has often annoyed me when I've tinkered around with open-source code in the past, so I'm glad that this is moving forward. It looks like there are empty directories left around after running
Is this expected? |
Yes: The |
Yes, definitely worth it. And I suppose that automatically removing directories is tricky and risky. Perhaps it's worth adding a note to the README suggesting that a fastidious user might want to clean up these empty directories. |
No: Fastidious users regularly scour their hard disks for things that are out of place. I don't want to rob them of that pleasure :->> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to understand how this would work. If you run cmake --install
and then keep that build directory around, then you can run cmake --uninstall
afterward. Would this also create uninstall targets for ninja
? And also, if you wipe out the build directory, you can't run uninstall without doing a second install (hopefully over top of the existing install, so that the paths are the same)?
That's exactly what it does. As well as for any other code generator supported by
Correct. This simply iterates |
Thanks for the explanation! Merging. |
This closes for good the question how to uninstall liboqs.