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

Cannot run tests on Apple M1 MacOS #993

Open
romanzac opened this issue Nov 23, 2023 · 2 comments
Open

Cannot run tests on Apple M1 MacOS #993

romanzac opened this issue Nov 23, 2023 · 2 comments

Comments

@romanzac
Copy link
Collaborator

romanzac commented Nov 23, 2023

Nim-libp2p project uses test dependency go-libp2p-daemon which requires Go compiler version < 1.18. Actual Go compiler version set in the project 1.15.5 is not available for ARM64 with MacOS.

Steps to resolve:

  • Upgrade Go compiler requirement to 1.16.15
  • Install Go compiler 1.16.15 locally as alternative version
  • Run tests as usual
  • Run tests on other platforms for regression
@romanzac romanzac mentioned this issue Nov 23, 2023
2 tasks
@kaiserd
Copy link
Collaborator

kaiserd commented Nov 24, 2023

Nim-libp2p project uses dependency go-libp2p-daemon

I assume this is only a test dependency? (The title suggests it as well, but the description is vague.)

Did you test upgrading the go-compiler with other architectures?

@romanzac
Copy link
Collaborator Author

Nim-libp2p project uses dependency go-libp2p-daemon

I assume this is only a test dependency? (The title suggests it as well, but the description is vague.)

Did you test upgrading the go-compiler with other architectures?

Thanks for comment. I've updated description, please have a look. No, I haven't tested this with other architectures yet.

@kaiserd kaiserd moved this to new in nim-libp2p May 2, 2024
@kaiserd kaiserd moved this from new to icebox in nim-libp2p May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: icebox
Development

No branches or pull requests

2 participants