conda-forge.github.io icon indicating copy to clipboard operation
conda-forge.github.io copied to clipboard

microarch example: List at least one microarch_level

Open stuarteberg opened this issue 1 year ago • 3 comments

Avoids a (presumed) bug in conda-build, as described here.

stuarteberg avatar May 30 '24 14:05 stuarteberg

Deploy Preview for conda-forge-previews ready!

Name Link
Latest commit 1b2e31564760e006ad40ba36aa620af2ce993d79
Latest deploy log https://app.netlify.com/sites/conda-forge-previews/deploys/66588e1e8f4ec700076ef337
Deploy Preview https://deploy-preview-2197--conda-forge-previews.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 30 '24 14:05 netlify[bot]

Is there a conda-build issue with a reproducer?

isuruf avatar May 31 '24 14:05 isuruf

Is there a conda-build issue with a reproducer?

Unfortunately, no. I made a brief attempt at creating a minimal reproducer, but did not succeed.

But conda-build was clearly doing something wrong with our build. (It had two of us feedstock maintainers scratching our head.) In lieu of a proper fix, we might spare some folks a headache if they start with an example config that is known to work.

stuarteberg avatar May 31 '24 20:05 stuarteberg

Quoting @mbargull's comment:

As far as I can tell, the only explanation is that conda-build has a bug.

It is probably not a bug, but the (IMO, unfortunate) feature of conda-build in that it searches for uses of environment variable corresponding to the variant entries in build scripts and thus considers microarch_level as a "used" due to the ${microarch_level} in your script. It might suffice to just say ${microarch_level:-1} instead in the build script to avoid it.

jaimergp avatar Jul 11 '24 08:07 jaimergp

Thanks

isuruf avatar Sep 24 '24 19:09 isuruf