Is is possible for a package to have a host dependency to an earlier version of itself.
Specifically, I a working on the cmake-feedstock.
Cmake is built using cmake.
I would like to add an earlier version of cmake as a dependancy.
Putting the dependency in the
meta.yaml causes an error about circular dependencies not being allowed.
The current approach is to get a prebuilt version of cmake in the build scripts (or use the system supplied version).
Currently this approach does not checksum the acquired executable (which could be corrected in the script).
Another approach would be to include and use the bootstrap script in the conda package and build with that.
I am looking for some guidance.
I did find a mention of this topic in
- 2016-06-03 — conda-forge 2023.07.27 documentation
- 2016-05-09 Exceptional meeting regarding build customization — conda-forge 2023.07.27 documentation
bootstrapping: sometimes an older dependency is needed to build a current thing (circular dependencies may require subenvironments also)
sub-environments have been needed for boot-strapping self-hosting compilers. Perhaps discuss/work on this at SciPy
What was the conclusion of this boostrapping discussion?