This is a set of scripts for building OpenSlide for Windows, including all of its dependencies, using MinGW-w64.
The builder
directory defines a container image with the dependencies
needed to run the build script. To pull the container image and use it to
run a build:
docker run -ti --rm -v $PWD:/work -w /work \
ghcr.io/openslide/winbuild-builder ./build.sh bdist
To override the source tree used to build a package, create a top-level
directory named override
and place the substitute source tree in a
subdirectory named after the package's shortname. A list of shortnames
can be obtained by running build.sh
with no arguments.
Build Zip file containing build system and sources for OpenSlide and all dependencies.
Build Zip file containing binaries of OpenSlide and all dependencies.
Delete build and binary directories, but not downloaded tarballs. If one or more package shortnames is specified, delete only the build artifacts for those packages in the specified bitness.
Check for new releases of software packages.
These must be specified before the subcommand.
Parallel build with the specified parallelism.
Select 32-bit or 64-bit build (default: 32).
Set package version string in Zip file names to pkgver
.
Append suffix
to the OpenSlide version string.
Treat OpenSlide and OpenSlide Java build warnings as errors.