Differences From Artifact [4021fb1aeb]:
- File auto.def — part of check-in [b0dc279205] at 2022-07-26 16:05:13 on branch trunk — auto.def: --with-zlib=tree now fails if compat/zlib is not configured and built in advance, resolving the curious problem that the downstream test for openssl fails if libz is not built. Problem discovered by Daniel D. and reported in /chat. (user: stephan size: 28477)
To Artifact [8396c043cf]:
- File auto.def — part of check-in [f938438380] at 2022-08-15 22:02:20 on branch trunk — Changed several of the Docker environment variables to build arguments so the user an override them at build time rather than container creation time, and documented them in build.wiki. Using this new mechanism to pull the Fossil source tarball in such a way that we can use the Docker artifact cache without getting stale builds. You can now pass one of the new build args to force the old behavior if you want it. This required generating Dockerfile from Dockerfile.in at configure time, to inject the current Fossil checkin ID. (This busts the Docker cache when the source tree changes.) (user: wyoung size: 28781)
| ︙ | ︙ | |||
762 763 764 765 766 767 768 769 770 771 |
define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
make-template tools/emcc.sh.in
catch {exec chmod u+x tools/emcc.sh}
} else {
define EMCC_WRAPPER ""
catch {exec rm -f tools/emcc.sh}
}
make-template Makefile.in
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
| > > > > > > > | 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
make-template tools/emcc.sh.in
catch {exec chmod u+x tools/emcc.sh}
} else {
define EMCC_WRAPPER ""
catch {exec rm -f tools/emcc.sh}
}
# Insert a prefix of the checkin ID into the Dockerfile so repeated
# builds of this version generate and fetch the tarball only once,
# keeping it in the local Docker cache.
set ci [readfile "$::autosetup(srcdir)/manifest.uuid"]
define FOSSIL_CI_PFX [string range $ci 0 12]
make-template Dockerfile.in
make-template Makefile.in
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
|