Coder Social home page Coder Social logo

Is there a `conda debug` equivalent? about boa HOT 2 OPEN

mamba-org avatar mamba-org commented on September 3, 2024
Is there a `conda debug` equivalent?

from boa.

Comments (2)

wolfv avatar wolfv commented on September 3, 2024

Actually, I still haven't figured out what conda debug does. Can you describe it?

When a build fails, there is usually left-over environments in $CONDA_PREFIX/conda-bld that I usually use to debug my failed builds. The same is true for conda mambabuild.

Additionally with boa & the new recipe format, we've tried to make that more explicit -- and we also have a prototype for an interactive build-debugger in there. When you run with -i it will drop into a shell and you can create patches and other stuff from there.

You can try the boa-recipe format with boa convert myrecipe/meta.yaml > myrecipe/recipe.yaml and then build with boa build myrecipe.

from boa.

matthewwardrop avatar matthewwardrop commented on September 3, 2024

conda debug has never worked perfectly for me with conda, but basically it just runs the conda build process normally up to the beginning of the stage matching a specified output-id fnmatch, and then stops with instructions for how to enter the build environment. It is supposed to dump a script into the folder that you can run to complete that stage, but that script has never materialised for me.

I think for me conda debug is mostly useful when I am running builds of multi-output packages, where it makes simpler keeping track of the right working directories of the several that are created during the build process.

It's a good point about the leftover working directories, so I will use them for the time being :). When I get some bandwidth I'll take a look at the new recipe format too!

from boa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.