Open JesperBrink opened 5 years ago
For info about the difference between build and host can be found here: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#requirements-section
To summarize to above mentioned link:
We could eventually add tags to the known packages. The tags could be something like 'build-tool' for packages like gcc or cmake. Libraries like hdf5 could be tagged 'lib'. This way we could check if the package is a library or a build tool, an then determine rather it should or shouldn't be added to host or build.
I have pushed a quick fix, where we just check a list of known packages before adding a package. We should probably find a more long term solution.
Right now the methods
bioconda_utils_iterative_build
andalpine_iterative_build
returns a list with dependencies that should be added to the recipe.The question is then: how do we find out if a requirement is a "build" or a "host" requirement?