From 8eafadbab79fb3d0d0aefaa422d13d0d61f69f38 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Thu, 23 Jul 2009 20:48:41 +0000 Subject: [PATCH] Brief documentation --- build-conf-planetlab.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/build-conf-planetlab.py b/build-conf-planetlab.py index a56c5d50..80a39516 100755 --- a/build-conf-planetlab.py +++ b/build-conf-planetlab.py @@ -1,5 +1,24 @@ #!/usr/bin/python +### +# Nightly build spec HOWTO +# +# * To add a 'build spec', define a dictionary as in the following examples, filling in the values you would like to override in the defaults. Any values you leave out +# will get picked up from the defaults at the bottom of this fiel. +# +# * A build spec may define multiple builds encapsulating various combinations of the available parameter options. To do so, +# set a parameter to a list, and the parent script will automatically turn it into the combinations it encloses. e.g., the following +# build spec defines 6 separate builds: +# +# my_build = { +# 'fcdistro':['centos5','f8','f10'], +# 'personality':['linux32','linux65'] +# +# * If your parameters have dependencies - e.g. you only want to build the linu64 personality on f10, then define the parameter as a lambda operating +# on the current build spec. e.g. in this case, it would be to the effect of lambda (build): if (build['fcdistro']=='f10') then ['linux32','linux64'] else ['linux32'] +# + + marcs_trunk_build = { 'tags':'planetlab-tags.mk', 'fcdistro':['centos5','f8'], -- 2.43.0