Skip to content
Fossil Changes To Release Build How-To
Login

Changes To Release Build How-To

Changes to "Release Build How-To" between 2025-03-01 01:34:20 and 2025-03-01 01:38:36

︙
43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

92
93
94
95
96
97
98
43
44
45
46
47
48
49

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

91
92
93
94
95
96
97
98







-
+




















-
+



















-
+







          into `$HOME/openssl/openssl` (or similar)
     <li> `cd` into the `$HOME/openssl/openssl` directory
     <li> `./config no-ssl3 no-weak-ssl-ciphers no-shared no-threads --openssldir=/etc/ssl`
     <li> `make -j8 CFLAGS=-Os`
     </ul>
  *  `./configure --with-openssl=$HOME/openssl/openssl --disable-fusefs`
  *  If the Makefile contains a reference to `-lpthread`, remove it.
  *  `CFLAGS="-Os" make -e clean fossil`
  *  `make clean && make -j8 CFLAGS=-Os fossil && strip fossil`
  *  `strip fossil`
  *  Verify dependencies using "`ldd ./fossil`"
  *  `tar czf fossil-linux-x64-$VERSION.tar.gz fossil`
  *  `fossil uv add fossil-linux-x64-$VERSION.tar.gz`
  *  `fossil uv sync`

## Mac

  *  Published Fossil builds use the lead developer's 2010 Macbook Air running MacOS 10.13.6 for x64
     and the lead devloper's minimac running MacOS 12.0.1 for arm.  Binaries are signed on the lead
     developer's 2017 iMac.  All that said, the following procedure should work on *any* Mac.
  *  Build the in-tree OpenSSL library:
     <ul>
     <li> Download the OpenSSL tarball into `$HOME/openssl`
          and unpack it into `$HOME/openssl/openssl` (or similar)
     <li> `cd` into the `$HOME/openssl/openssl` directory
     <li> `./config no-ssl3 no-weak-ssl-ciphers no-shared no-threads no-asm --openssldir=/etc/ssl`
     <li> `make -j8 CFLAGS=-Os`
     </ul>
  *  `./configure --with-openssl=$HOME/openssl/openssl`
  *  `make -clean && make -j8`
  *  `make clean && make -j8 CFLAGS=-Os fossil && strip fossil`
  *  Verify no shared library dependencies using:  `otool -L ./fossil`
  *  `strip fossil`
  *  Optional: `codesign -s [email protected] fossil` then verify the signature using
     `codesign -d -v fossil`
  *  `tar czf fossil-mac-ARCH-VERSION.tar.gz fossil` where ARCH is either x64 or arm64.
  *  `fossil uv add fossil-mac-ARCH-VERSION.tar.gz`
  *  `fossil uv sync`

## Raspberry Pi

  *  Build the in-tree OpenSSL library:
     <ul>
     <li> Download the OpenSSL tarball info `$HOME/openssl` 
          and unpack it into `$HOME/openssl/openssl` (or similar)
     <li> `cd` into the `$HOME/openssl/openssl` directory
     <li> `./Configure linux-generic32 no-ssl3 no-weak-ssl-ciphers no-shared no-threads no-asm --openssldir=/etc/ssl`
     <li> `make -j2 CFLAGS=-Os`
     </ul>
  *  `./configure --with-openssl=$HOME/openssl/openssl --static`
  *  `CFLAGS="-Os" make -e clean fossil && strip fossil`
  *  `make clean && make -j2 fossil CFLAGS=-Os && strip fossil`
  *  `tar czf fossil-pi-$VERSION.tar.gz fossil`
  *  `fossil uv add fossil-pi-$VERSION.tar.gz`
  *  `fossil uv sync`

## Windows 32-bit using MSVC

  *  Run all of the following from a "x86 Native Tools Command Prompt"
︙