Skip to content

Remove yaml-cpp conda pkg from Windows CI env to avoid gtest conflict#888

Merged
shimwell merged 10 commits into
svalinn:developfrom
gonuke:probe_windows
Jul 25, 2023
Merged

Remove yaml-cpp conda pkg from Windows CI env to avoid gtest conflict#888
shimwell merged 10 commits into
svalinn:developfrom
gonuke:probe_windows

Conversation

@gonuke

@gonuke gonuke commented Jul 22, 2023

Copy link
Copy Markdown
Member

Description

Removes conda pkg yaml-cpp from windows CI build environment.

Fixes #885

Motivation and Context

The yaml-cpp conda package installs a version of gtest, currently a version that is not compatible with the one we use. While it is questionable whether this package should install gtest, we don't need this package for our build so we can simply remove it.

@gonuke gonuke requested review from bam241 and pshriwise July 22, 2023 16:34
@gonuke gonuke requested a review from shimwell July 24, 2023 11:50
run: |
conda install curl eigen
conda install -c conda-forge hdf5=1.10.6
conda remove -y yaml-cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting I wonder how this one is brought in to the environment.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conda install with --no-deps would perhas be another option

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using a standard miniconda environment as the windows image, so it probably is just there from that process

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... so it's only really relevant for CI, this this is a pretty good solution, I think

@shimwell shimwell merged commit 05bf358 into svalinn:develop Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows Build Failure with Gtest

2 participants