Giter Site home page Giter Site logo

Comments (5)

colin-pm avatar colin-pm commented on July 23, 2024 1

I ended up building from source, which worked fine for me. I did just download the Mac x86-64 binary and it appears to work as well.

The only issue I see is the install.sh script errors because getFile returns no binary for macOS arm64. So either hosting a binary for the macOS arm64 download path or modifying the install.sh script would provide support for M1 devices in my mind.

from arduino-lint.

per1234 avatar per1234 commented on July 23, 2024 1

I ended up building from source, which worked fine for me. I did just download the Mac x86-64 binary and it appears to work as well.

I'm very glad to hear this!

the install.sh script errors because getFile returns no binary for macOS arm64

Thanks so much for bringing this to our attention. Although the installation script is automatically tested, including on a macOS x86-64 machine, the GitHub Actions system used for the test does not currently have M1 runners, so that is a gap in the test coverage.

The installation script is maintained in a separate repository, so I have opened a dedicated bug report about this problem there:

arduino/tooling-project-assets#207

Once it is resolved upstream, that will be pulled back into this repository as well as the other projects using the script.

Since it seems no action needs to be taken in the code hosted in the Arduino Lint repository, I'll go ahead and close this issue.

Regards, Per

from arduino-lint.

per1234 avatar per1234 commented on July 23, 2024 1

Hello again @colin-pm. I just wanted to share an update that the deficiency in the installation script has now been resolved and it should now be possible to use on M1 machines: #376

from arduino-lint.

per1234 avatar per1234 commented on July 23, 2024 1

Hello yet again @colin-pm. I have some good news. There are now native macOS ARM 64-bit builds of Arduino Lint for the Apple M1-based machines (#409).

There hasn't been a production release of Arduino Lint since the build system was updated, but nightly builds are already available. The link is here if you want to give it a try:

https://arduino.github.io/arduino-lint/dev/installation/#nightly-builds

from arduino-lint.

per1234 avatar per1234 commented on July 23, 2024

Hi @colin-pm. I don't own a Mac M1, but my understanding is that the x86-64 build we provide already should work fine on these machines using Rosetta 2 mode.

Have you had problems using Arduino Lint sourced from the "macOS 64 bit" download links shown on the "Installation" page?:

https://arduino.github.io/arduino-lint/latest/installation/#latest-release

from arduino-lint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.