mamba-org / boa

The fast conda package builder, based on mamba
https://boa-build.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
253 stars 57 forks source link

implement stdlib Jinja function #379

Open h-vetinari opened 10 months ago

h-vetinari commented 10 months ago

The next release of conda-build is going to contain a new function to allow expressing constraints on the c standard library version (and implementation).

We plan to use this extensively in conda-forge, because it is the key to handle packages that require newer glibc or Macos versions than our global baseline (in fact, we cannot properly move our baseline on Macos unless we have this).

Since boa is still used used widely in the build infrastructure of conda-forge, it would be essential to have the same functionality also in boa. I had briefly talked about this with @wolfv, and the implementation shouldn't be hard. It definitely wasn't a big deal on the conda-build side (most of that PR is docs and tests).

isuruf commented 10 months ago

Since boa is still used used widely in the build infrastructure of conda-forge, it would be essential to have the same functionality also in boa.

Boa is not used in conda-forge to build recipes. Only conda-mambabuild which is a wrapper around conda-build to use mamba.

It's good to have this function in boa recipes in either case.