Skip to content

Add Git Bash support on Windows #111

@traversaro

Description

@traversaro

Probably this may be out of scope for the feedstock, but I want to at least track this somewhere.

Being able to use the C/C++ compiler on Windows via Git Bash has some advantage, typically related to not having to use two different sheels on unix vs windows .

In gbionics/human-dynamics-estimation#427 (comment), we debugged exactly this situation, and we were able to get it to work by defining a bunch of of env variables (the only tricky aspect is to localize vs itself, but on that vswhere can help).

From what I understand, rattler-build/pixi already solve this by reusing the main .bat activation script, and extracting from it the change that it induces in the env variable, and using those changes also when other shells are used, so probably what is missing is doing something similar (either explicitly or "manually" as done in gbionics/human-dynamics-estimation#427 (comment) .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions