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.

stephan 2025-03-04 04:41 trunk
Commit b7338a55af959598e412c4399fa6a491e287096c7f355587fa414e3c72cfc575
1 file changed +3 -1
+3 -1
--- www/build.wiki
+++ www/build.wiki
@@ -491,11 +491,13 @@
491491
When a new version of <tt>extsrc/pikchr.c</tt> is installed, the
492492
files <tt>pikchr.{js,wasm}</tt> will need to be recompiled to account
493493
for that. Running <tt>make wasm</tt> will, if the build is set up for
494494
the emsdk, recompile those:
495495
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
497499
./tools/emcc.sh -o extsrc/pikchr.js ...
498500
$ ls -la extsrc/pikchr.{js,wasm}
499501
-rw-rw-r-- 1 stephan stephan 17263 Jun 8 03:59 extsrc/pikchr.js
500502
-rw-rw-r-- 1 stephan stephan 97578 Jun 8 03:59 extsrc/pikchr.wasm
501503
</code></pre>
502504
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button