Skip to content

Conversation

luoliwoshang
Copy link
Contributor

@luoliwoshang luoliwoshang commented Sep 9, 2025

fixed https://github.com/tinygo-org/tinygo/actions/runs/17543650117/job/49860578495?pr=5028

Updating files: 100% (146556/146556), done.
Error: cmake was installed from the local/pinned tap
but you are trying to install it from the homebrew/core tap.
Formulae with the same name from different taps cannot be installed at the same time.

To install this version, you must first uninstall the existing formula:
  brew uninstall cmake
Then you can install the desired version:
  brew install cmake

Error: Process completed with exit code 1.

@deadprogram deadprogram changed the base branch from release to dev September 9, 2025 07:42
@aykevl
Copy link
Member

aykevl commented Sep 9, 2025

If cmake is already installed, I think we can skip that one? There's no reason we need a specific variant of it. (And it speeds up CI if we don't reinstall something).

@deadprogram
Copy link
Member

#5031 tries to do what you suggest @aykevl

Let's see if it passes...

@luoliwoshang
Copy link
Contributor Author

The reason for uninstalling and then reinstalling cmake is that I want to maintain the original logic of installing the latest cmake via brew.

@deadprogram
Copy link
Member

The reason for uninstalling and then reinstalling cmake is that I want to maintain the original logic of installing the latest cmake via brew.

That does make sense to me, especially since Homebrew does update formulas. Now merging, thanks for the fix @luoliwoshang!

@deadprogram deadprogram merged commit 13bb59c into tinygo-org:dev Sep 9, 2025
19 checks passed
@aykevl
Copy link
Member

aykevl commented Sep 10, 2025

The reason for uninstalling and then reinstalling cmake is that I want to maintain the original logic of installing the latest cmake via brew.

But why would you do that? We don't need the latest cmake.

@luoliwoshang
Copy link
Contributor Author

Sorry, I may have misread that. What I meant to express was to keep the original logic of installing cmake through brew, not necessarily the latest version. In fact, I also didn't install the latest cmake.

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.

3 participants