Emscripten: Add some kind of install script to aid downstream packaging of emscripten

Created on 9 Jan 2020  路  6Comments  路  Source: emscripten-core/emscripten

Today packaging emscripten is kind of pain and not well supported. For example its not clear which files should be included in the package. See:
https://github.com/emscripten-core/emscripten/issues/10093

This should be done in cooperation with downstream package maintainers (or at least one so we know it works).

Current packages of emscripten can be found here: https://repology.org/project/emscripten/versions

help wanted wontfix

All 6 comments

You should implement the following items:

  1. configuration step: configure command should check that all dependencies are installed.
  2. installation procedure: it should install all required files into $DESTDIR$PREFIX
  3. regression suit: there should be a command that runs some basic tests and makes sue they produce expected results.

Currently the FreeBSD port is broken because it has no binaryen dependency, and bonaryen also breaks with invalid compilation flags.

As another example, Arch linux port is broken for the same reason: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emscripten-git

Brokenness of ports is a result of you not providing configuration/installation/regression procedures.

Open source rarely works by placing demands on other people's free time. As has been stated before, Emscripten core team maintains distribution/installation via emsdk and via direct clone from repository.

If you would like to take the mantle of developing and maintaining Emscripten distributions to Linux distros you care about, or producing documentation to others for how they should do that, that would be great. You seem to know where to start the research already!

I don't put demands, I am making a suggestion.

I think there might have been a misunderstanding here. Just to clarify - thanks @yurivict for the suggestions. As @juj said, the main active devs here probably don't have time to look into it themselves, since we focus on emsdk packaging. But we'd be happy if someone did, and we'd like to help them. But it would require someone to take on the work.

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.

This was fixed in #10761

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phraemer picture phraemer  路  3Comments

rpellerin picture rpellerin  路  3Comments

kripken picture kripken  路  4Comments

hcomere picture hcomere  路  3Comments

HolgerStrauss picture HolgerStrauss  路  4Comments