Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Sven-Hendrik Haase 2843eaa35e
Run npm install as part of the install (#12899)
Fixes #12519
2020-12-05 08:17:25 -08:00
Sven-Hendrik Haase 5f4bde1cac
Allow for setting DESTDIR (#12898)
This allows you to do DESTDIR=somedir make install which is good for package maintainers.
2020-12-04 09:56:09 -08:00
Sven-Hendrik Haase 8ce187bf67
Use DESTDIR instead of uncommon DISTDIR (#11355)
It's quite common to see DESTDIR being used with Makefiles but DISTDIR is very uncommon.
2020-06-05 11:45:12 -07:00
Sam Clegg 9eb123864c
Convert install script to python (#10837)
This is needed since we want to be able to run this on windows
as well as linux and mac.
2020-04-03 13:24:46 -07:00
Sam Clegg 7675652288
Use `emscripten-revision.txt` file to store extra version information (#10792)
Rather than adding this to the existing `emscripten-version.txt` file.
Just in case anyone was parsing this outside of emscripten itself.

This is followup on #10789 based on feedback in that PR.

Also use `git rev-parse HEAD` to get the git revision for git users
which is slightly more efficient/reliable that trying to parse
`git show` output.
2020-03-27 12:54:19 -07:00
Sam Clegg 6c92e3721f
Include git rev in emmscripten-version.txt during `make dist` (#10789)
This will allow emsdk and other distributions to include an accurate
git sha.

Also, include tests/ directory in archive, but not tests/third_party/.
This should have been part of #10761.

This fixes #10660 in a more satisfactory way.
2020-03-27 10:46:24 -07:00
Sam Clegg a7885d20c3
Add `make install` rule for use when distibuting emscripten (#10790)
I plan to use this on https://github.com/WebAssembly/waterfall/.
2020-03-27 10:46:02 -07:00
Sam Clegg 238c272882
Add `make dist` target for creating a distibutable version of emscripten (#10761)
This target creates an archive that excludes parts of the source tree
that are not needed by end users.

Significantly we don't include `.git` or `tests`.

The resulting archive is 64Mb compressed and 77Mb uncompressed where as
the unfiltered contents currently in emsdk is 114Mb compressed and nd
131Mb uncompressed.

Currently the only use for the rules is to upload an artifact to github
CI.  However as a followup we can start using this rule when building
the emsdk archives to save significant amount data for our users.
2020-03-27 09:28:34 -07:00