-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit adb788c
Use -Oz instead of -O2 to reduce compiled asset sizes significantly (#479)
* Run `npm ci` automatically after the devcontainer is created.
This reduces the chance that another dev will forget to do this.
* Upgrade to Emscripten 2.0.29
Changes required:
* Defined EM_NODE_JS environment variable to get rid of
a warning that appears if the NODE environment variable
is set, but EM_NODE_JS is not.
* EXTRA_EXPORTED_RUNTIME_METHODS is now EXPORTED_RUNTIME_METHODS
* No longer pass the `-s LINKABLE=1` option to emcc when compiling. (This is a linktime setting and emcc
warns about not using a linktime setting when compiling now).
* Upgrade to Sqlite 3.36.0
Sqlite now publishes the hash as a SHA3 instead of SHA1,
necessitating the installation of the sha3sum command.
* Use -Oz optimizations instead of -O2
This reduces most compilation output by around 50%1 parent 3f054c2 commit adb788c
1 file changed
+5
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | - | ||
21 | - | ||
20 | + | ||
21 | + | ||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 | - | ||
56 | + | ||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 | - | ||
151 | + | ||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 | - | ||
157 | + | ||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
|
0 commit comments