From: Nikodemus Siivola Date: Thu, 10 Nov 2011 11:23:51 +0000 (+0200) Subject: make it possible to build only selected contribs X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=66cbca5408d83014fada99572892416b5d93a71a;p=sbcl.git make it possible to build only selected contribs Not for users as such, but for poking at specific contribs with a faster turnaround. --- diff --git a/make-target-contrib.sh b/make-target-contrib.sh index b7906d4..bcff011 100644 --- a/make-target-contrib.sh +++ b/make-target-contrib.sh @@ -61,7 +61,15 @@ find output -name 'building-contrib.*' -print | xargs rm -f CL_SOURCE_REGISTRY='(:source-registry :ignore-inherited-configuration)' export CL_SOURCE_REGISTRY -for i in contrib/*; do +if [ -z "$@" ]; then + contribs_to_build=contrib/* +else + for name in $@; do + contribs_to_build="contrib/$name $contribs_to_build" + done +fi + +for i in $contribs_to_build; do test -d $i && test -f $i/Makefile || continue; # export INSTALL_DIR=$SBCL_HOME/`basename $i ` test -f $i/test-passed && rm $i/test-passed