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

Have make cleanall (optionally?) clear environments Manifest #51604

Open
NHDaly opened this issue Oct 5, 2023 · 3 comments
Open

Have make cleanall (optionally?) clear environments Manifest #51604

NHDaly opened this issue Oct 5, 2023 · 3 comments
Labels
building Build system, or building Julia or its dependencies

Comments

@NHDaly
Copy link
Member

NHDaly commented Oct 5, 2023

I wonder whether make cleanall should also rm your environment's manifest?

Since julia currently suggests that if the build fails due to a Pkg error, as in #51570:

*** This error might be fixed by running `make clean`. If the error persists, try `make cleanall`. ***

It could at least suggest it as an option, like:

$ make cleanall
...
Would you like to clear your environment Manifest? This could help if you are seeing Pkg related issues: [y/n]
y
rm ~/.julia/environments/v1.10/Manifest.toml

Originally posted by @NHDaly in #51570 (comment)

@brenhinkeller brenhinkeller added the building Build system, or building Julia or its dependencies label Oct 6, 2023
@IanButterworth
Copy link
Member

I think #51613 makes this manageable? Close?

@JeffBezanson
Copy link
Member

I think this is too "global" an effect for a build target to have, but we can add it to the suggestion message.

@vtjnash
Copy link
Member

vtjnash commented Oct 10, 2023

We are waiting for #51479 to land, but it is currently a bug that the environment Manifests have any effect on the build at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

No branches or pull requests

5 participants