Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Resolve CI compilation failures on MacOSX #17271

Merged
merged 6 commits into from
Aug 19, 2024

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    f329f3e View commit details
    Browse the repository at this point in the history
  2. Add the "auto-update-conda: true" flag for miniconda setup

    It looks like the base environment provides `conda==24.5.0`, but the
    `tvm-build` environment only provides `conda==23.9.0`, and the error
    in `cargo build` is triggered from within the `tvm-build`
    environment.  Seeing if it just needs to be allowed to update to a
    newer `conda` version.
    Lunderberg committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    1ff7b87 View commit details
    Browse the repository at this point in the history
  3. Attempt bumping the required conda version

    The `conda-build` package specifies compatibility with `conda >=
    23.7`, but the `libmamba` requirement requirement isn't provided until
    `23.10`.
    
    Possibly an incompatibility, where the default solver is decided based
    on the base environment's `conda` version, but the availability is
    based on the `tvm-build` environment.
    Lunderberg committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    182a8bb View commit details
    Browse the repository at this point in the history
  4. Try adding "conda-solver: classic"

    Since libmamba isn't available inside the generated environment
    Lunderberg committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    b5752c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    045fb7d View commit details
    Browse the repository at this point in the history
  2. Exit on first error for Windows conda build

    From what I can tell, batch scripts do not have an equivalent to `set
    -e`, so this needs to be added to every command in the batch scripts.
    Lunderberg committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    34aa523 View commit details
    Browse the repository at this point in the history