mmomtchev/node-gdal-async

Provide pre-built Macbook M1 binaries

mmomtchev opened this issue · 34 comments

I am looking for a company willing to cover the costs of renting a remote Apple M1 host in order to provide support for the new Apple Macbooks. If paying by the hour, you should expect about 1 or 2 days of uptime per month.

If anyone is looking for a workaround to get this running locally on M1 Macs:

brew install gdal
npm install gdal-async --build-from-source --shared_gdal

If you are still interested I can cover these costs with my company.
A Mac Mini M1 (by Scaleway) may do the job?

Yes, a Mac Mini M1 by Scaleway would be perfect, I would need a day or two to make it work and certainly less than a day per month for further testing and development.

Sadly they are currently out of stock. I will keep you informed.

Capture d’écran 2022-12-12 à 21 19 56

Hi,

any progress in M1 build?

Thanks!

Sadly Scaleway doesn't provide M1 instances anymore :(

utix commented

Can any ARM VM do the job ?

Sounds like it's on GitHub roadmap for Q3 Q4. There used to be a beta access but the link is not working anymore.

Can any ARM VM do the job ?

It should, as long as it can be registered as a GitHub Action self-hosted runner.

@jdesboeufs aaaand it sounds like Scaleway offers M1 mini again.

Capture d’écran 2023-09-29 à 11 49 38

@thom4parisot Not in the dashboard.

actions/runner-images#8439

GitHub action M1 support is now available

Github actions support has been available for some time now, but porting without being able to build locally is not really feasible

I would just like to remind everyone that I work for free, I have a $2.50 budget per meal and that the French police is intimidating me while all of the users of this project are showing me with random messages that they fully back this extortion.

If anyone wants M1 binaries, you will have to pay for a M1 host.

And are you okay with receiving a physical Mac Mini? I suppose it can be setup as a GitHub runner.

I'm happy to contribute to buying/delivering it. If anybody want to tag along 👍🏻

Of course that I am, I will support M1 if I can have a build host.

zy6p commented

Adrressed as actions/runner-images#8439 and M1 is now available!

I still need a build host that I can access to implement the support.

It is a pity that most of my users are cheeky criminals who decided to slide with somebody who was extorting me for money (and a particularly distasteful to mention here problem) with the help of the French judiciary and the police against someone who was making them free software. If you want M1 binaries, you will have to find $5/month. Period.

If anyone is looking for a workaround to get this running locally on M1 Macs:

brew install gdal
npm install gdal-async --build-from-source --shared_gdal

how do i use this with pnpm

Adrressed as actions/runner-images#8439 and M1 is now available!

Might I make a suggestion here? You can try the FlyCI's M1 and M2 runners which are on average about 2x faster and 2x cheaper than GitHub's runners . We also offer a free tier of 500 mins/month on the M1 runner for OSS projects.

Pricing

Processor vCPU RAM (GB) Storage Label Price on FlyCI Price on GitHub
M1 4 7 28 GB flyci-macos-large-latest-m1 $0.06 -
M1 8 14 28 GB flyci-macos-xlarge-latest-m1 $0.12 $0.16
M2 4 7 28 GB flyci-macos-large-latest-m2 $0.08 -
M2 8 14 28 GB flyci-macos-xlarge-latest-m2 $0.16 -

Guide for Implementation

  1. Install the FlyCI GitHub app.
  2. Modify the runs-on directive in workflow files as demonstrated in this PR.
  3. Enjoy 2x faster and 2x cheaper MacOS workflow runs!
jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

We'll be very happy to have you on board.

As you may have seen from my profile, I am currently living on social welfare because of an extortion involving the French police and judiciary about a series of false criminal proceedings - in order to intimidate me people are posting simultaneously comments and issues on my projects - your is simultaneous with a PR from snyk which seem to have accepted to back the intimidation.

It is a pity that most of my users are cheeky criminals who decided to slide with somebody who was extorting me for money (and a particularly distasteful to mention here problem) with the help of the French judiciary and the police against someone who was making them free software. If you want M1 binaries, you will have to find $5/month. Period.

@mmomtchev are you still looking for $5/month sponsor on github to help provide M1 binaries? I'm happy to set this up as building from source is becoming problematic between machines and gdal updates. Thanks!

Yes, of course. If anyone is willing to provide a macros ARM64 build host, I will provide pre built binaries for all my projects.
I simply cannot accept any other conditions - especially related to my judicial affair - as I have received such proposals in the past.

Do you require a dedicated machine (virtual or otherwise) to figure out the build, or are hosted build runners as suggested by others above enough? Just looking for clarification as you mentioned $5 a month above but that doesn't seem enough for a dedicated host that isn't just a build runner?

I do not need a permanent build host, Scaleway had an offer with a price per hour.

In fact, I would probably need a day or two in the beginning, then I would be using for a few hours per month.

I can sponsor $50 per month for a few months to get you up and running before you move to the free tier build servers if that helps? Your GitHub sponsor page has a min $300 amount a month though FYI.

No, if you post simultaneously with other people I cannot accept this.

I will explain you my decision making process, which is in fact rather simple:

For example:

  • I write open source software for free for people to use it, this allows me raise awareness of the extortion in which the French and EU justice systems are involved -> YES
  • I accept donations which allow me to reach an ever larger public -> YES
  • I accept donations from someone who made it clear that he is involved in that extortion -> NO

I have been through absolutely horrible harassment and I have spent years living on social welfare in order to achieve victory in this affair. Nothing will stop me.

You sound like you’ve been through hell and are still fighting your own demons, but I don’t know you, we are just here to help push forward your great open source work. The conversations here have nothing to do with your personal life.

Well, let me explain you a fundamental principle in criminal law called "proof beyond any reasonable doubt". Many people believe that DNA is an absolute proof. It is not - in fact there is a very small chance that two people can fully share the same DNA - without even being related. The chance is very small - it is on the scale of 1 to trillions. The subject has been studied extensively: The Evaluation of Forensic DNA Evidence - so that in these cases, the explanation that someone just happened to have the same DNA as the real killer does not stand in court.

In your case, barring an eventual activation of the Infinite Improbability Drive, this is absolutely the case.

In fact, since the police tried threatening me about 8 months ago, there hasn't been a single comment on any project I own that is not related to this affair

Well, let me explain you a fundamental principle in criminal law called "proof beyond any reasonable doubt". Many people believe that DNA is an absolute proof. It is not - in fact there is a very small chance that two people can fully share the same DNA - without even being related. The chance is very small - it is on the scale of 1 to trillions. The subject has been studied extensively: The Evaluation of Forensic DNA Evidence - so that in these cases, the explanation that someone just happened to have the same DNA as the real killer does not stand in court.

In your case, barring an eventual activation of the Infinite Improbability Drive, this is absolutely the case.

In fact, since the police tried threatening me about 8 months ago, there hasn't been a single comment on any project I own that is not related to this affair

Not to be rude but what does this have to do with getting an arm build?

You say you need money so you can run CI builds, he offers you the money to do it, and you then change your mind and won't take the money and give a kind of crazy-sounding reply on some conspiracy theory that's unrelated.

The problem is that I have been living in total isolation for the last 4 years since my ex-employers made a deal with a number of lawyers to drop charges on a series of very explosive lawsuits, and they have been extorting me to shut up about this affair. In order to intimidate me, people are posting simultaneously on my projects. The French police, already heavily involved in this affair, came illegally in my home 8 months ago to intimidate me about this affair. Since this "incident", I have never had even one comment whose goal was something else than this affair. Yours included.

This is possible because there was already a deal with the GIS community and the Linux Foundation to try make it look as they did not notice me in order to help the extortion.

I think that if someone really needs a macOS ARM64 version, he should be capable of offering to donate an access to a build host without having to post simultaneously to indicate that he is involved in the extortion. In any other case, the only thing that I can say is that making noise about this ongoing extortion is far more important to me than having this macOS ARM64 version.