Skip to content

Preparing A Release

Dave Parker edited this page Sep 14, 2018 · 40 revisions

Building a Binary Distribution

Building a binary distribution is straightforward. From the prism directory, where PRISM is usually, compiled, run:

make release

This makes sure that PRISM is compiled, builds prism.jar containing all the Java class files, and assembles all the files needed into, for example, release/prism-4.5-osx64.tar.gz.

By default, the version number (4.5 above) is automatically extracted from prism/Version.java, but can be overridden if required:

make release VERSION=4.4.1

The platform name (osx64 above) is derived automatically from the current build. If you were building, for example, a 32-bit release from a 64-bit OS, you might use:

make clean_all && make ARCH=

The build process works in the same way under Windows (compiling from within Cygwin), but this also requires NSIS to be installed (and makensis to be in your path).

Clone this wiki locally