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

MacOS CI build breaking #756

Closed
edwardhartnett opened this issue Jan 15, 2023 · 3 comments · Fixed by #842
Closed

MacOS CI build breaking #756

edwardhartnett opened this issue Jan 15, 2023 · 3 comments · Fixed by #842
Assignees
Labels

Comments

@edwardhartnett
Copy link
Collaborator

Well the MacOS CI builds all broke a little while ago.

The main problem seems to be the brew update command. This command updates all the software (apparently) on the MacOS. It's slow and unnecessary, as we use very little - just compilers and a few tools. Somehow the brew update command is broken on macos-latest in GitHub. Something fails to do with PHP. However, removing the brew update command works.

Meanwhile, another of the workflows was building mpich/openmpi. Actually we don't need to build these, we can just install them with package management tools apt-get on Linux and brew on MacOS. Something about the build of mpich broke on the MacOS. Something to do with the new compilers I think. Rather than fix that, I just switch to using package management installs.

Currently there is a compile problem for the code, which I'm asking George about, and an ESMF build problem, which I am asking ESMF about.

@edwardhartnett edwardhartnett self-assigned this Jan 15, 2023
@edwardhartnett
Copy link
Collaborator Author

I am still working on this but stuck on ESMF build.

@GeorgeGayno-NOAA
Copy link
Collaborator

Is this still needed in light of #668? Will close for now.

@aerorahul
Copy link
Contributor

@GeorgeGayno-NOAA
If necessary, I could attempt to add a similar mac_clang.yaml workflow that tests the ufs-utils on macOS.
Let me know if that is desired.

GeorgeGayno-NOAA pushed a commit that referenced this issue Aug 18, 2023
Adds a github action for macOS with clang.  Uses v3 of cache in the workflows.
Removes old and broken workflows.

Fixes #756.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants