Code Monkey home page Code Monkey logo

Comments (5)

m4heshd avatar m4heshd commented on June 10, 2024 1

@m4heshd any idea why there is no Linux arm prebuild for v119?

Module version 119 is reserved by Electron (v28 to be specific). Unfortunately, we're not building for Electron on arm at the moment.

Now that arm is sort of becoming major on desktop, practically we should build for Electron on arm but the current method we're using to build for arm is notoriously slow. Qemu has a reputation for being just that. BS3's build workflow would take days to finish if we were to do that.

I recently added a feature to BS3 for building arm64 binaries natively on mac. As I mentioned in the PR note, there IS a possibility of building Linux arm builds on that very same runner. But still, I'm not exactly sure how armv7 builds would behave in that environment. Technically, should build fine with similar performance as arm64 builds. Can't be sure till we try though.

UPDATE:
Unfortunately, this won't be a possibility in the near future since M1 lacks support for nested virtualization. Just learned this, not a mac user myself. So it's a no-go for Qemu and any sort of emulation on this runner.

from better-sqlite3.

Prinzhorn avatar Prinzhorn commented on June 10, 2024

This is not an error but a warning that no prebuild was found. You should still be able to compile locally.

@m4heshd any idea why there is no linux arm prebuild for v119? Looking at the assets https://github.com/WiseLibs/better-sqlite3/releases/tag/v9.4.0 I'm confused why for some versions they are missing? E.g. v115 and v120 have linux arm builds, but not v119

from better-sqlite3.

VitorAndrey avatar VitorAndrey commented on June 10, 2024

@Prinzhorn Thanks for helping! I'm sorry if this is trivial, but I've never done it before. I just need to download the corresponding package version for my architecture at https://github.com/WiseLibs/better-sqlite3/releases/tag/v9.4.0? After that, how do I compile locally?

from better-sqlite3.

Prinzhorn avatar Prinzhorn commented on June 10, 2024

@VitorAndrey this all happens automatically when prebuild fails, but you've seem to have that disabled

warn install prebuilt binaries enforced with --force

from better-sqlite3.

VitorAndrey avatar VitorAndrey commented on June 10, 2024

@Prinzhorn, @m4heshd, thank you so much for your time and assistance. It turns out that using Electron Rebuild worked. I ran electron-rebuild -f -w better-sqlite3, and it generated all the necessary components to make the library work in the Raspberry Pi 3 environment.

from better-sqlite3.

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.