Fossil

Artifact [435f789b]
Login

Artifact 435f789ba7b0ccce539fbaf7e4cd9c71838e1a23a64184cd4c565f2c2b527f91:

Wiki page [Release Build How-To] by drh 2017-04-13 23:29:00.
D 2017-04-13T23:29:00.634
L Release\sBuild\sHow-To
P 95242d48a9be55685424dc7ab1bf88a897519cb7
U drh
W 1829
<h1>Notes on how build and upload the precompiled binaries</h1>

<h2>Download Page</h2>
<ul>
<li>Run "fossil uv edit download.html" to modify the "releases" variable
    in the javascript to add the new release number and title and various
    hyperlinks.
<li>Run "fossil uv sync" to propagate the changes from the previous step.
</ul>

<h2>Linux</h2>
<ul>
<li>On the machine named "bella", cd to ~/fossil/static</li>
<li>rm -rf *</li>
<li>../m1/configure --static --disable-fusefs</li>
<li>make</li>
<li>strip fossil</li>
<li>tar czf fossil-linux-x64-$VERSION.tar.gz fossil
</ul>

<h2>OpenBSD</h2>
<ul>
<li>On the devio.us machine in the ~/fossil/m1 directory</li>
<li>fossil clean -x</li>
<li>./configure</li>
<li>make</li>
<li>strip fossil</li>
<li>tar czf fossil-openbsd-x86-$VERSION.tar.gz fossil
</ul>

<h2>Windows</h2>
<ul>
<li>Use MinGW instead of MSVC for windows builds since the resulting binary has
fewer kernel.dll dependencies and works with older versions of windows such as
XP.</li>
<li>On the Lenovo Yoga (Windows10) in a MinGW shell in ~/fossil/m1</li>
<li>fossil clean -x</li>
<li>make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1
OPENSSLDIR=../../openssl-1.0.0l</li>
<li><b>OR:</b> tclsh ../mkfossil.tcl
<li>zip fossil-w32-$VERSION.zip fossil
</ul>

<h2>Mac</h2>
<ul>
<li>On 2015 MacPro in the ~/fossil/m1 directory</li>
<li>fossil clean -f</li>
<li>./configure</li>
<li># Edit the Makefile to specify libcrypto.a and libssl.a instead of
    -lcrypto and -lssl.
<li>make</li>
<li># Verify dependencies using:  otool -L ./fossil
<li>strip fossil</li>
<li>tar czf fossil-macosx-$VERSION.tar.gz fossil
</ul>

<h2>Source Tarball</h2>
<ul>
<li>fossil tarball --name fossil-$VERSION version-$VERSION
fossil-src-$VERSION.tar.gz<br>
</li>
</ul>
<ul>
</ul>

Z 61792991df93688affa004b9fe173b8b