Should 'make -C deps clean-*' wipe all versions of a dependency? #8369
Labels
build
Build system, or building Julia or its dependencies
speculative
Whether the change will be implemented is speculative
Most of the time, having old versions of dependencies in
deps/
is mostly harmless. Occasionally, however, they do interact in unexpected ways. Today @andreasnoack encountered a build error in gmp owing to having both gmp 5.1.3 and gmp 6.0.0 around, and the build tried to use the header file from the former and the library from the latter, resulting in a build failure.make -C deps clean-gmp
only deleted the version explicitly stated indeps/Versions.make
and did not solve the problem.Given that we have special clean targets for dependencies in
make -C deps clean-*
which are meant to wipe out specific dependencies, would it make sense for them for them to nuke all versions of the dependency that are sitting around indeps
? Or possibly have a different clean target that aggressively deleted all downloaded versions?The text was updated successfully, but these errors were encountered: