Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

SunOS support? #981

Closed
sanderson opened this issue Jun 1, 2015 · 7 comments
Closed

SunOS support? #981

sanderson opened this issue Jun 1, 2015 · 7 comments

Comments

@sanderson
Copy link

Trying to use node-sass on a SmartOS server which is a Solaris variant. Any chance node-sass will be compiled for SunOS? Currently it isn't.

@am11
Copy link
Contributor

am11 commented Jun 1, 2015

There is an open issue for SunOS in binary repo: https://github.com/sass/node-sass-binaries/issues/32.

Technically, there shouldn't be any problem building binaries with GCC 4.7+ against SPARC, x86 and ia64. The only reason it never happened is because nobody contributed SunOS binaries to binaries repo. :) I tried configuring SunOS VM but ran into issues. If you have access to SunOS, would you like to contribute binaries on regular basis?

Here is the Linux Dockerfile for your reference (which we use to build Linux binaries): https://gist.github.com/am11/1529b2458b1a1f4bdba8. You may want to handle SPARC architecture separately for node.js (AFAICR, io.js doesn't support SunOS).

@xzyfer
Copy link
Contributor

xzyfer commented Jun 11, 2015

Unless there a community advocate for AIX SunOS willing to generate binaries for release, or provide an automated solution we cannot not actively support it.

@xzyfer xzyfer closed this as completed Jun 11, 2015
@xzyfer xzyfer reopened this Jun 11, 2015
@xzyfer xzyfer added the BLOCKED label Jun 11, 2015
@saper
Copy link
Member

saper commented Jun 11, 2015

I think @xzyfer mean Solaris but this applies to AIX too (#988)

@djensen47
Copy link

It also appears that compiling node-sass on SmartOS/Solaris is broken, again. Does this mean that SmartOS/Solaris is no longer supported by the Sass community?

@saper
Copy link
Member

saper commented Jul 7, 2015

We need:

  • to know how many platform variants do we have/need to support
  • to have a good C++11 compiler (can be gcc, clang, possibly some other)
  • it should be researched what kind of C++ runtime libraries need to supported (GNU's libstdc++, clang's libc++, any other?), especially what comes preinstalled with the OS
  • ability to install and switch between various versions of node and iojs. (NODE_MODULE_VERSION values 11, 14, 42, 43, 44)
  • ability to automate all those builds and running npm test on them.
  • ability to extract and package generated binding files.

Example: the process I am using to provide FreeBSD binaries, on Linux we are using docker.

@xzyfer
Copy link
Contributor

xzyfer commented Jul 13, 2015

Does this mean that SmartOS/Solaris is no longer supported by the Sass community.

No. We want LibSass and node-sass to run everywhere. We however do not currently have a hosted CI solution for SunOS to monitor breakages, or anyone in with SunOS experience volunteering to help with building binaries (or helping with an automated solution).

This is why we continue to see regressions in building LibSass on SunOS, and why don't offer prebuilt SunOS binaries for node-sass. If this is something you have the experience and time for we'd love to have your help maintaining SunOS support.

@xzyfer
Copy link
Contributor

xzyfer commented Jan 20, 2016

Closing due to lack of interest.

@xzyfer xzyfer closed this as completed Jan 20, 2016
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Remove obsolete check for rest args after optionals
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants