Fossil SCM
Update the build notes about rebuilding pikchr.wasm to include an explicit rm of the js/wasm files beforehand, as they may otherwise not always be rebuilt.
Commit
b7338a55af959598e412c4399fa6a491e287096c7f355587fa414e3c72cfc575
Parent
316b0a689b16d19…
1 file changed
+3
-1
+3
-1
| --- www/build.wiki | ||
| +++ www/build.wiki | ||
| @@ -491,11 +491,13 @@ | ||
| 491 | 491 | When a new version of <tt>extsrc/pikchr.c</tt> is installed, the |
| 492 | 492 | files <tt>pikchr.{js,wasm}</tt> will need to be recompiled to account |
| 493 | 493 | for that. Running <tt>make wasm</tt> will, if the build is set up for |
| 494 | 494 | the emsdk, recompile those: |
| 495 | 495 | |
| 496 | -<pre><code>$ make wasm | |
| 496 | +<pre><code>$ rm extsrc/pikchr.{js,wasm} | |
| 497 | +# ^^^^ that rm has proven necessary in order to ensure rebuilds | |
| 498 | +$ make wasm | |
| 497 | 499 | ./tools/emcc.sh -o extsrc/pikchr.js ... |
| 498 | 500 | $ ls -la extsrc/pikchr.{js,wasm} |
| 499 | 501 | -rw-rw-r-- 1 stephan stephan 17263 Jun 8 03:59 extsrc/pikchr.js |
| 500 | 502 | -rw-rw-r-- 1 stephan stephan 97578 Jun 8 03:59 extsrc/pikchr.wasm |
| 501 | 503 | </code></pre> |
| 502 | 504 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -491,11 +491,13 @@ | |
| 491 | When a new version of <tt>extsrc/pikchr.c</tt> is installed, the |
| 492 | files <tt>pikchr.{js,wasm}</tt> will need to be recompiled to account |
| 493 | for that. Running <tt>make wasm</tt> will, if the build is set up for |
| 494 | the emsdk, recompile those: |
| 495 | |
| 496 | <pre><code>$ make wasm |
| 497 | ./tools/emcc.sh -o extsrc/pikchr.js ... |
| 498 | $ ls -la extsrc/pikchr.{js,wasm} |
| 499 | -rw-rw-r-- 1 stephan stephan 17263 Jun 8 03:59 extsrc/pikchr.js |
| 500 | -rw-rw-r-- 1 stephan stephan 97578 Jun 8 03:59 extsrc/pikchr.wasm |
| 501 | </code></pre> |
| 502 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -491,11 +491,13 @@ | |
| 491 | When a new version of <tt>extsrc/pikchr.c</tt> is installed, the |
| 492 | files <tt>pikchr.{js,wasm}</tt> will need to be recompiled to account |
| 493 | for that. Running <tt>make wasm</tt> will, if the build is set up for |
| 494 | the emsdk, recompile those: |
| 495 | |
| 496 | <pre><code>$ rm extsrc/pikchr.{js,wasm} |
| 497 | # ^^^^ that rm has proven necessary in order to ensure rebuilds |
| 498 | $ make wasm |
| 499 | ./tools/emcc.sh -o extsrc/pikchr.js ... |
| 500 | $ ls -la extsrc/pikchr.{js,wasm} |
| 501 | -rw-rw-r-- 1 stephan stephan 17263 Jun 8 03:59 extsrc/pikchr.js |
| 502 | -rw-rw-r-- 1 stephan stephan 97578 Jun 8 03:59 extsrc/pikchr.wasm |
| 503 | </code></pre> |
| 504 |