nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Cannot run tests on Apple M1 MacOS

Open romanzac opened this issue 1 year ago • 2 comments

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 avatar Nov 23 '23 07:11 romanzac

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?

kaiserd avatar Nov 24 '23 10:11 kaiserd

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.

romanzac avatar Nov 24 '23 12:11 romanzac