Skip to content

VSWhere search for cl.exe on Windows takes 500s on CI #48

Closed
@touilleMan

Description

@touilleMan

For instance this job on CI takes 537.18s for a pip install + pytest: https://github.com/elijahr/python-autopxd2/actions/runs/10784358066/job/29920722125

After more test, most of this time is taken by "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -prerelease latest -format json -utf8 -find "**\bin\HostX64\x64\cl.exe"

My guess is the ** pattern that may search in far too many places :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions