Uninstall instructions #167

issue Sjors openend this issue on March 14, 2025
  1. Sjors commented at 11:54 am on March 14, 2025: member
    I would be useful to have instructions on which files to remove to fully undo a make install.
  2. Sjors commented at 11:57 am on March 14, 2025: member

    Looking at the install log, something like this:

    0sudo rm -rf /usr/local/lib/libmultiprocess.a \
    1/usr/local/include/mp \
    2/usr/local/bin/mpgen \
    3/usr/local/include/mp \
    4/usr/local/include/mpgen.mk \
    5/usr/local/lib/pkgconfig/libmultiprocess.pc \
    6/usr/local/lib/cmake/Libmultiprocess
    

    That’s a lot of files, so a make uninstall would be easier to use.

  3. ryanofsky commented at 5:38 pm on April 8, 2025: collaborator

    It looks like a reasonable way to do this is:

    0xargs rm -v < build/install_manifest.txt
    

    as described https://stackoverflow.com/questions/41471620/cmake-support-make-uninstall

    It’d be probably a good idea to add that command to the documentation in https://github.com/bitcoin-core/libmultiprocess/blob/master/doc/install.md

    It would also be possible to add a more portable make uninstall target as described https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake if that is not overkill.

    Would welcome opinions about this, or PRs implementing any solution.


Sjors ryanofsky


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-12-04 19:30 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me