Artifact
95242d48a9be55685424dc7ab1bf88a897519cb7:
Wiki page
[Release Build How-To] by
drh
2017-03-04 14:57:31.
0000: 44 20 32 30 31 37 2d 30 33 2d 30 34 54 31 34 3a D 2017-03-04T14:
0010: 35 37 3a 33 31 2e 36 31 39 0a 4c 20 52 65 6c 65 57:31.619.L Rele
0020: 61 73 65 5c 73 42 75 69 6c 64 5c 73 48 6f 77 2d ase\sBuild\sHow-
0030: 54 6f 0a 50 20 34 35 37 37 61 30 62 36 65 32 63 To.P 4577a0b6e2c
0040: 64 65 31 62 62 30 30 35 62 34 62 37 30 37 33 66 de1bb005b4b7073f
0050: 30 37 31 36 30 66 62 65 64 64 64 34 31 0a 55 20 07160fbeddd41.U
0060: 64 72 68 0a 57 20 31 36 37 39 0a 3c 68 31 3e 4e drh.W 1679.<h1>N
0070: 6f 74 65 73 20 6f 6e 20 68 6f 77 20 62 75 69 6c otes on how buil
0080: 64 20 61 6e 64 20 75 70 6c 6f 61 64 20 74 68 65 d and upload the
0090: 20 70 72 65 63 6f 6d 70 69 6c 65 64 20 62 69 6e precompiled bin
00a0: 61 72 69 65 73 3c 2f 68 31 3e 0d 0a 0d 0a 3c 68 aries</h1>....<h
00b0: 32 3e 44 6f 77 6e 6c 6f 61 64 20 50 61 67 65 3c 2>Download Page<
00c0: 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e /h2>..<ul>..<li>
00d0: 52 75 6e 20 22 66 6f 73 73 69 6c 20 75 76 20 65 Run "fossil uv e
00e0: 64 69 74 20 64 6f 77 6e 6c 6f 61 64 2e 68 74 6d dit download.htm
00f0: 6c 22 20 74 6f 20 6d 6f 64 69 66 79 20 74 68 65 l" to modify the
0100: 20 22 72 65 6c 65 61 73 65 73 22 20 76 61 72 69 "releases" vari
0110: 61 62 6c 65 0d 0a 20 20 20 20 69 6e 20 74 68 65 able.. in the
0120: 20 6a 61 76 61 73 63 72 69 70 74 20 74 6f 20 61 javascript to a
0130: 64 64 20 74 68 65 20 6e 65 77 20 72 65 6c 65 61 dd the new relea
0140: 73 65 20 6e 75 6d 62 65 72 20 61 6e 64 20 74 69 se number and ti
0150: 74 6c 65 20 61 6e 64 20 76 61 72 69 6f 75 73 0d tle and various.
0160: 0a 20 20 20 20 68 79 70 65 72 6c 69 6e 6b 73 2e . hyperlinks.
0170: 0d 0a 3c 6c 69 3e 52 75 6e 20 22 66 6f 73 73 69 ..<li>Run "fossi
0180: 6c 20 75 76 20 73 79 6e 63 22 20 74 6f 20 70 72 l uv sync" to pr
0190: 6f 70 61 67 61 74 65 20 74 68 65 20 63 68 61 6e opagate the chan
01a0: 67 65 73 20 66 72 6f 6d 20 74 68 65 20 70 72 65 ges from the pre
01b0: 76 69 6f 75 73 20 73 74 65 70 2e 0d 0a 3c 2f 75 vious step...</u
01c0: 6c 3e 0d 0a 0d 0a 3c 68 32 3e 4c 69 6e 75 78 3c l>....<h2>Linux<
01d0: 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e /h2>..<ul>..<li>
01e0: 4f 6e 20 74 68 65 20 6d 61 63 68 69 6e 65 20 6e On the machine n
01f0: 61 6d 65 64 20 22 62 65 6c 6c 61 22 2c 20 63 64 amed "bella", cd
0200: 20 74 6f 20 7e 2f 66 6f 73 73 69 6c 2f 73 74 61 to ~/fossil/sta
0210: 74 69 63 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 72 6d tic</li>..<li>rm
0220: 20 2d 72 66 20 2a 3c 2f 6c 69 3e 0d 0a 3c 6c 69 -rf *</li>..<li
0230: 3e 2e 2e 2f 6d 31 2f 63 6f 6e 66 69 67 75 72 65 >../m1/configure
0240: 20 2d 2d 73 74 61 74 69 63 20 2d 2d 64 69 73 61 --static --disa
0250: 62 6c 65 2d 66 75 73 65 66 73 3c 2f 6c 69 3e 0d ble-fusefs</li>.
0260: 0a 3c 6c 69 3e 6d 61 6b 65 3c 2f 6c 69 3e 0d 0a .<li>make</li>..
0270: 3c 6c 69 3e 73 74 72 69 70 20 66 6f 73 73 69 6c <li>strip fossil
0280: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 61 72 20 63 </li>..<li>tar c
0290: 7a 66 20 66 6f 73 73 69 6c 2d 6c 69 6e 75 78 2d zf fossil-linux-
02a0: 78 36 34 2d 24 56 45 52 53 49 4f 4e 2e 74 61 72 x64-$VERSION.tar
02b0: 2e 67 7a 20 66 6f 73 73 69 6c 0d 0a 3c 2f 75 6c .gz fossil..</ul
02c0: 3e 0d 0a 0d 0a 3c 68 32 3e 4f 70 65 6e 42 53 44 >....<h2>OpenBSD
02d0: 3c 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 </h2>..<ul>..<li
02e0: 3e 4f 6e 20 74 68 65 20 64 65 76 69 6f 2e 75 73 >On the devio.us
02f0: 20 6d 61 63 68 69 6e 65 20 69 6e 20 74 68 65 20 machine in the
0300: 7e 2f 66 6f 73 73 69 6c 2f 6d 31 20 64 69 72 65 ~/fossil/m1 dire
0310: 63 74 6f 72 79 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e ctory</li>..<li>
0320: 66 6f 73 73 69 6c 20 63 6c 65 61 6e 20 2d 78 3c fossil clean -x<
0330: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 2e 2f 63 6f 6e 66 /li>..<li>./conf
0340: 69 67 75 72 65 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e igure</li>..<li>
0350: 6d 61 6b 65 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 73 make</li>..<li>s
0360: 74 72 69 70 20 66 6f 73 73 69 6c 3c 2f 6c 69 3e trip fossil</li>
0370: 0d 0a 3c 6c 69 3e 74 61 72 20 63 7a 66 20 66 6f ..<li>tar czf fo
0380: 73 73 69 6c 2d 6f 70 65 6e 62 73 64 2d 78 38 36 ssil-openbsd-x86
0390: 2d 24 56 45 52 53 49 4f 4e 2e 74 61 72 2e 67 7a -$VERSION.tar.gz
03a0: 20 66 6f 73 73 69 6c 0d 0a 3c 2f 75 6c 3e 0d 0a fossil..</ul>..
03b0: 0d 0a 3c 68 32 3e 57 69 6e 64 6f 77 73 3c 2f 68 ..<h2>Windows</h
03c0: 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 55 73 2>..<ul>..<li>Us
03d0: 65 20 4d 69 6e 47 57 20 69 6e 73 74 65 61 64 20 e MinGW instead
03e0: 6f 66 20 4d 53 56 43 20 66 6f 72 20 77 69 6e 64 of MSVC for wind
03f0: 6f 77 73 20 62 75 69 6c 64 73 20 73 69 6e 63 65 ows builds since
0400: 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 62 the resulting b
0410: 69 6e 61 72 79 20 68 61 73 0d 0a 66 65 77 65 72 inary has..fewer
0420: 20 6b 65 72 6e 65 6c 2e 64 6c 6c 20 64 65 70 65 kernel.dll depe
0430: 6e 64 65 6e 63 69 65 73 20 61 6e 64 20 77 6f 72 ndencies and wor
0440: 6b 73 20 77 69 74 68 20 6f 6c 64 65 72 20 76 65 ks with older ve
0450: 72 73 69 6f 6e 73 20 6f 66 20 77 69 6e 64 6f 77 rsions of window
0460: 73 20 73 75 63 68 20 61 73 0d 0a 58 50 2e 3c 2f s such as..XP.</
0470: 6c 69 3e 0d 0a 3c 6c 69 3e 4f 6e 20 74 68 65 20 li>..<li>On the
0480: 4c 65 6e 6f 76 6f 20 59 6f 67 61 20 28 57 69 6e Lenovo Yoga (Win
0490: 64 6f 77 73 31 30 29 20 69 6e 20 61 20 4d 69 6e dows10) in a Min
04a0: 47 57 20 73 68 65 6c 6c 20 69 6e 20 7e 2f 66 6f GW shell in ~/fo
04b0: 73 73 69 6c 2f 6d 31 3c 2f 6c 69 3e 0d 0a 3c 6c ssil/m1</li>..<l
04c0: 69 3e 66 6f 73 73 69 6c 20 63 6c 65 61 6e 20 2d i>fossil clean -
04d0: 78 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 6d 61 6b 65 x</li>..<li>make
04e0: 20 2d 66 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 -f win/makefile
04f0: 2e 6d 69 6e 67 77 20 46 4f 53 53 49 4c 5f 45 4e .mingw FOSSIL_EN
0500: 41 42 4c 45 5f 53 53 4c 3d 31 0d 0a 4f 50 45 4e ABLE_SSL=1..OPEN
0510: 53 53 4c 44 49 52 3d 2e 2e 2f 2e 2e 2f 6f 70 65 SSLDIR=../../ope
0520: 6e 73 73 6c 2d 31 2e 30 2e 30 6c 3c 2f 6c 69 3e nssl-1.0.0l</li>
0530: 0d 0a 3c 6c 69 3e 3c 62 3e 4f 52 3a 3c 2f 62 3e ..<li><b>OR:</b>
0540: 20 74 63 6c 73 68 20 2e 2e 2f 6d 6b 66 6f 73 73 tclsh ../mkfoss
0550: 69 6c 2e 74 63 6c 0d 0a 3c 6c 69 3e 7a 69 70 20 il.tcl..<li>zip
0560: 66 6f 73 73 69 6c 2d 77 33 32 2d 24 56 45 52 53 fossil-w32-$VERS
0570: 49 4f 4e 2e 7a 69 70 20 66 6f 73 73 69 6c 0d 0a ION.zip fossil..
0580: 3c 2f 75 6c 3e 0d 0a 0d 0a 3c 68 32 3e 4d 61 63 </ul>....<h2>Mac
0590: 3c 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 </h2>..<ul>..<li
05a0: 3e 4f 6e 20 32 30 31 35 20 4d 61 63 50 72 6f 20 >On 2015 MacPro
05b0: 69 6e 20 74 68 65 20 7e 2f 66 6f 73 73 69 6c 2f in the ~/fossil/
05c0: 6d 31 20 64 69 72 65 63 74 6f 72 79 3c 2f 6c 69 m1 directory</li
05d0: 3e 0d 0a 3c 6c 69 3e 66 6f 73 73 69 6c 20 63 6c >..<li>fossil cl
05e0: 65 61 6e 20 2d 66 3c 2f 6c 69 3e 0d 0a 3c 6c 69 ean -f</li>..<li
05f0: 3e 2e 2f 63 6f 6e 66 69 67 75 72 65 3c 2f 6c 69 >./configure</li
0600: 3e 0d 0a 3c 6c 69 3e 6d 61 6b 65 3c 2f 6c 69 3e >..<li>make</li>
0610: 0d 0a 3c 6c 69 3e 73 74 72 69 70 20 66 6f 73 73 ..<li>strip foss
0620: 69 6c 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 61 72 il</li>..<li>tar
0630: 20 63 7a 66 20 66 6f 73 73 69 6c 2d 6d 61 63 6f czf fossil-maco
0640: 73 78 2d 24 56 45 52 53 49 4f 4e 2e 74 61 72 2e sx-$VERSION.tar.
0650: 67 7a 20 66 6f 73 73 69 6c 0d 0a 3c 2f 75 6c 3e gz fossil..</ul>
0660: 0d 0a 0d 0a 3c 68 32 3e 53 6f 75 72 63 65 20 54 ....<h2>Source T
0670: 61 72 62 61 6c 6c 3c 2f 68 32 3e 0d 0a 3c 75 6c arball</h2>..<ul
0680: 3e 0d 0a 3c 6c 69 3e 66 6f 73 73 69 6c 20 74 61 >..<li>fossil ta
0690: 72 62 61 6c 6c 20 2d 2d 6e 61 6d 65 20 66 6f 73 rball --name fos
06a0: 73 69 6c 2d 24 56 45 52 53 49 4f 4e 20 76 65 72 sil-$VERSION ver
06b0: 73 69 6f 6e 2d 24 56 45 52 53 49 4f 4e 0d 0a 66 sion-$VERSION..f
06c0: 6f 73 73 69 6c 2d 73 72 63 2d 24 56 45 52 53 49 ossil-src-$VERSI
06d0: 4f 4e 2e 74 61 72 2e 67 7a 3c 62 72 3e 0d 0a 3c ON.tar.gz<br>..<
06e0: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 75 6c /li>..</ul>..<ul
06f0: 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 0a 5a 20 61 36 61 >..</ul>...Z a6a
0700: 30 33 62 34 64 33 35 63 62 30 32 32 30 32 38 30 03b4d35cb0220280
0710: 31 61 63 63 64 61 62 38 34 38 61 39 65 0a 1accdab848a9e.