Giter Club home page Giter Club logo

Comments (6)

nex3 avatar nex3 commented on May 27, 2024

Dart itself doesn't currently support Alpine, so there's not much we can do here until that happens.

@ntkme I know you were working on getting Dart itself more Alpine-compatible, what's the current status there?

from dart-sass.

farnetto avatar farnetto commented on May 27, 2024

from dart-sass.

ntkme avatar ntkme commented on May 27, 2024

We have very reliable builds of dart-sdk for musl, however, currently it is not possible for dart-sdk builds to be interchangeable between glibc and musl. So dart-sass for glibc and musl need to be built separately. I have been building dart-sass for musl based on the dart-sdk for musl and they have been serving ruby community for almost a year (roughly 20% of linux downloads are from musl platforms e.g. alpine-linux) and there wasn't any issue reported so it has been very stable.

@nex3 I wanted to discuss with you about what should we do as next steps as the dart team is not interested to take over the maintenance of dart-sdk for musl, specifically in terms of providing official builds on dart team's CI/CD. I'm fine with maintaining the musl builds for dart-sdk myself as it is 100% automated (including beta and dev builds) for every single release and requires nearly no human intervention. The question is, would the sass team be ok with providing "official" builds of dart-sass with unofficial builds of dart-sdk? If so, I'm happy to send a PR to move the build process dart-sass for musl into this repo. If the sass team is not ready for using unofficial builds of dart-sdk at this moment, I think an alternative approach we can take is to still build dart-sass for musl as a separate unofficial project, but we can setup a CI hook to automate the release of unofficial musl builds (similar to how we release embedded-host-node). I've created a github org account @sass-contrib and moved all related projects there. I'd like to have you as backup admin for that org, which would make it easier for collaboration between official and unofficial sass projects.

What do you think?

from dart-sass.

nex3 avatar nex3 commented on May 27, 2024

I'm fine using your build of the Dart SDK for musl. How would we handle Homebrew, where we currently rely on the dart-sdk tap? Just say you can't install Sass via brew on musl linux?

from dart-sass.

ntkme avatar ntkme commented on May 27, 2024

We can modify the dart-sass formula to download the prebuilt binary from GitHub release instead of actually building dart-sass, just like the dart sdk tap does not really build dart sdk.

from dart-sass.

ntkme avatar ntkme commented on May 27, 2024

In fact, as far as I can remember for Linuxbrew ships its own glibc and so that it should just work.

from dart-sass.

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.