History log of /seL4-l4v-10.1.1/HOL4/tools-poly/smart-configure.sml
Revision Date Author Comments
# 5dcc0ad1 10-Dec-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Try to find dot in user's PATH during configuration

If it is not found, say little about its absence on help-graph build
time.


# 5d69d290 23-Jul-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Make it possible to stop using MLTON; make it clear if it is used


# c13df663 20-Jul-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Use mlton to compile build and Holmake if it is installed

This is based on the theory that it won't generate strange errors on
wait as some versions of Poly/ML still seem prone to. It is probably
also quicker. (The script files themselves are still executing Poly/ML
so it's an improvement at the margins only.)


# a670538a 07-Jan-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

POLYC + POLY_VERSION now available in Holmakefiles

Also change POLYC from string option to string in Systeml (and "" in
Moscow ML environments).


# 0c595d32 22-Sep-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

Detect availability of polyc at config time

Work towards issue #292


# d43c79ba 11-Mar-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

DOT_PATH can now be overridden with Poly/ML

Failure to find an executable dot tool at the end of the build process
also produces a more helpful error/warning message.


# 2a28c899 04-Dec-2012 Michael Norrish <Michael.Norrish@nicta.com.au>

Allow user to configure location of dot tool for theory graph building.

The default is /usr/bin/dot, because that’s where it is on my Linux machine. If you need it to be somewhere else, create a config-override or poly-includes.ML file, depending on which ML you’re using.


# 9c8a04de 04-Nov-2012 Michael Norrish <michael.norrish@nicta.com.au>

Exit with non-zero code if configuration fails under Poly/ML.

Issue is that you can get a Fail exception when a call to ‘use’ fails,
but this doesn’t translate into a non-zero exit code when the Poly/ML
process exits, and this means that the regression build thinks that
configuration has succeeded, and then the build keeps going. Which is
bad. This (and the fact that Poly/ML 5.20 can’t compile
tools-poly/configure.sml) explains the regressions (with commit
7c7739a8c and earlier).


# 5c9fb767 02-Aug-2012 Scott Owens <Scott.Owens@cl.cam.ac.uk>

Fix configuration on PolyML


# c6068434 28-Aug-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Remove suggestion that Poly/ML builds can alter dynlib_available.

This variable can only be true in Moscow ML builds.


# 0350867c 15-Sep-2010 Michael Norrish <Michael.Norrish@nicta.com.au>

Polish the user experience in Poly's smart-configure.

In particular, if the overrides file exists (and provides sensible values),
don't tell the user to write it when the automatic setting detection fails.
In fact, if the overrides file exists and gives a value for something,
don't even attempt to determine that value automatically.

One slight change though is that you can now only override the poly
and polymllibdir values.

Thanks to Tjark for the report.


# 58013142 06-Jul-2010 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide better advice on writing config override files when errors occur.

(Suggested by Magnus.)


# 4761143b 10-Aug-2009 Tjark Weber <Tjark.Weber@cl.cam.ac.uk>

Removed trailing whitespace from all .sml and .sig files.

This affects over 900 files and was done using emacs's delete-trailing-whitespace
function in batch mode. Building the system with Poly/ML and Moscow ML seems to
work, so I'm hoping these changes don't break anything. Please complain if
they do!


# 9eed8545 13-Aug-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Use OS.FileSys.fullPath to get a proper path to a file, in particular
one that is uncontaminated by symbolic links.


# 2abd27b7 01-Jul-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Get poly HOL's configure to guess the likely location of the lib
files. This should remove the need to maintain a
tools-poly/poly-includes.ML file except in weird circumstances.


# 7dd6e660 30-Jun-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Modify configuration to use PATH examination to find the poly
executable, and to allow the configuration to be done from the root
hol directory, and not just tools-poly.


# 7966d692 21-Apr-2008 Scott Owens <Scott.Owens@cl.cam.ac.uk>

A little more polish on the PolyML build.


# 445073c5 17-Apr-2008 Scott Owens <Scott.Owens@cl.cam.ac.uk>

PolyML compatibility. See tools-poly/README.