Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | 1c962f7dfef28d50b497d3fd0d2e6abaa3396946ca02b0568a76c72459f78a0f |
---|---|
Page Name: | Release Build How-To |
Date: | 2017-07-26 20:08:50 |
Original User: | drh |
Parent: | a2f61bea3686597d94613b7bd33e957ca51a917bf7750fcada452602a6609fbe (diff) |
Next | dcbcd6b0f9b0c5d9dd82accf18da3d96b0d537e55714cad8fdd49eeb52a11ffb |
Content
Notes on how build and upload the precompiled binaries
Download Page
- 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.
- Run "fossil uv sync" to propagate the changes from the previous step.
Linux
- On the machine named "bella", cd to ~/fossil/static
- rm -rf *
- ../m1/configure --static --disable-fusefs
- make
- strip fossil
- tar czf fossil-linux-x64-$VERSION.tar.gz fossil
OR:
- Log into www.fossil-scm.org
- cd to /home/www/fossil/b1
- Run the script ./rebuild.sh
- Logout
- Download the file www.fossil-scm.org:/home/www/usr/local/fossil
- tar czf fossil-linux-x64-$VERSION.tar.gz fossil
OpenBSD
- On the devio.us machine in the ~/fossil/m1 directory
- fossil clean -x
- ./configure
- make
- strip fossil
- tar czf fossil-openbsd-x86-$VERSION.tar.gz fossil
Windows
- 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.
- On the Lenovo Yoga (Windows10) in a MinGW shell in ~/fossil/m1
- fossil clean -x
- make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.0l
- OR: tclsh ../mkfossil.tcl
- zip fossil-w32-$VERSION.zip fossil
- Visit https://submit.symantec.com/whitelist/isv/ to submit the new binary for whitelisting.
Mac
- On 2015 MacPro in the ~/fossil/m1 directory
- fossil clean -f
- ./configure
- # Edit the Makefile to specify libcrypto.a and libssl.a instead of -lcrypto and -lssl, and to add -liconv
- make
- # Verify dependencies using: otool -L ./fossil
- strip fossil
- tar czf fossil-macosx-$VERSION.tar.gz fossil
Source Tarball
- fossil tarball --name fossil-$VERSION version-$VERSION
fossil-src-$VERSION.tar.gz