Index: build/web/building.cgi ================================================================== --- build/web/building.cgi +++ build/web/building.cgi @@ -59,10 +59,15 @@ } "debug" { if {$value} { append description ", With Symbols" } + } + "minbuild" { + if {$value} { + append description ", Without Tcl pkgs/ and all encodings" + } } "storage" { switch -- $value { "mk4" { append description ", Metakit-based" Index: build/web/kitcreator.vfs/index.rvt ================================================================== --- build/web/kitcreator.vfs/index.rvt +++ build/web/kitcreator.vfs/index.rvt @@ -80,10 +80,11 @@ set build_packages [list] set build_options(threaded) 0 set build_options(kitdll) 0 set build_options(debug) 0 set build_options(dynamictk) 0 + set build_options(minbuild) 0 foreach arg [array names args] { switch -glob -- $arg { "option_package_*" { set package [join [lrange [split $arg _] 2 end] _] @@ -99,10 +100,13 @@ set build_options(debug) 1 } "option_dynamictk" { set build_options(dynamictk) 1 } + "option_minbuild" { + set build_options(minbuild) 1 + } "option_storage" { switch -- $args($arg) { "mk4" - "zip" - "cvfs" { set build_options(storage) $args($arg) } @@ -328,10 +332,11 @@ Kit: Threaded
Kit: Debugging Build
Kit: Build Library (KitDLL)
Kit: Always link Tk dynamically (if Tk is built) + Kit: "Minimal" build (remove extra packages shipped as part of Tcl and reduce encodings) Kit Storage: Index: build/web/process_queue ================================================================== --- build/web/process_queue +++ build/web/process_queue @@ -83,10 +83,16 @@ } "dynamictk" { if {[lsearch -exact $buildinfo(packages) "tk"] != -1} { set ::env(STATICTK) -1 } + } + "minbuild" { + if {$value} { + set ::env(KITCREATOR_MINENCODINGS) 1 + set ::env(KITCREATOR_MINBUILD) 1 + } } "staticmk4" { } } } @@ -102,15 +108,14 @@ catch { set cmd [list $script $buildinfo(tcl_version) {*}$args] set fd [open "${outfile}.log" w+] puts $fd "Running: export KITCREATOR_PKGS=\"$::env(KITCREATOR_PKGS)\"" - if {[info exists ::env(STRIP)]} { - puts $fd "Running: export STRIP=\"$::env(STRIP)\"" - } - if {[info exists ::env(STATICTK)]} { - puts $fd "Running: export STATICTK=\"$::env(STATICTK)\"" + foreach variable [list STRIP STATICTK KITCREATOR_MINENCODINGS KITCREATOR_MINBUILD] { + if {[info exists ::env($variable)]} { + puts $fd "Running: export $variable=\"$::env($variable)\"" + } } puts $fd "Running: $cmd" close $fd }