Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer pre-built *BSD binary? #1173

Closed
o-alquimista opened this issue Dec 28, 2020 · 2 comments
Closed

Offer pre-built *BSD binary? #1173

o-alquimista opened this issue Dec 28, 2020 · 2 comments
Labels
blocked Waiting on another issue to be fixed

Comments

@o-alquimista
Copy link
Contributor

o-alquimista commented Dec 28, 2020

I would like to suggest adding BSD binaries at least for FreeBSD (which seems to be the most popular among BSD systems). I'm currently experimenting with FreeBSD at home for the first time and this is one of the tools that lack support for it.

Eventually I want to migrate my personal server to a BSD system, so it would be great to be able to compile assets with it every time there's an update to the web apps I'm running.

I understand that supporting another platform is not a simple task and that there are many ways to work around this limitation; for example, building assets on a supported system and transferring the built files, or using the node sass package (right?). So this is just a "good to have" thing, I believe.

@jathak
Copy link
Member

jathak commented Jan 5, 2021

Unfortunately, there's no way for us to provide a native BSD binary without the Dart SDK adding support for it. You could try filing an issue there to add support. While this would allow you to build a native BSD binary yourself, actually including BSD binaries in our releases on GitHub would also require our CI to support building on BSD, which it currently does not.

The sass package on NPM is compiled to JS from Dart, so it has the same behavior as native Dart Sass (unlike the node-sass package, which is based on the deprecated libsass), just with a performance penalty due to running in JS (which shouldn't be a practical issue except for very large projects). If you install it with npm install -g sass, you should get a sass executable with the same behavior as a native binary.

@jathak jathak added the blocked Waiting on another issue to be fixed label Jan 5, 2021
@nanaya
Copy link

nanaya commented Apr 2, 2022

A over year late response but if this is any indication, there's little chance of freebsd port happening:

dart-lang/sdk#10260

I'd suggest either hope the js compiled sass is good enough or use something else. The former may be a bit more difficult when using additional wrappers like dartsass-rails though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Waiting on another issue to be fixed
Projects
None yet
Development

No branches or pull requests

3 participants