Check-in [dea912723e]
Overview
Comment:Added storage option and printing of build command
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:dea912723ea624765ee3c883be5cba2272d1dc11
User & Date: rkeene on 2014-07-20 15:56:10
Other Links: manifest | tags
Context
2014-07-20
16:15
Added support for a debug build check-in: 9a27037143 user: rkeene tags: trunk
15:56
Added storage option and printing of build command check-in: dea912723e user: rkeene tags: trunk
15:23
Updated to include log if available check-in: 541903ae15 user: rkeene tags: trunk
Changes

Modified build/web/kitcreator.vfs/index.rvt from [1d7c1123ef] to [c8faa1ee8b].

    80     80   				}
    81     81   				"option_threaded" {
    82     82   					set build_options(threaded) 1
    83     83   				}
    84     84   				"option_kitdll" {
    85     85   					set build_options(kitdll) 1
    86     86   				}
           87  +				"option_storage" {
           88  +					switch -- $args($arg) {
           89  +						"mk4" - "zip" - "cvfs" {
           90  +							set build_options(storage) $args($arg)
           91  +						}
           92  +					}
           93  +				}
    87     94   			}
    88     95   		}
    89     96   		set build_packages [lsort -dictionary $build_packages]
    90     97   
    91     98   		# Validate arguments
    92     99   		if {![info exists platforms($build_platform)]} {
    93    100   			unset build_platform
................................................................................
   302    309   <?  foreach package [lsort -dictionary [array names packages]] { ?>
   303    310               <input type="checkbox" name="option_package_<? puts -nonewline $package ?>" id="option_package_<? puts -nonewline $package ?>">Package: <? puts -nonewline $packages($package) ?><br>
   304    311   <? } ?>
   305    312               <input type="checkbox" name="option_threaded">Kit: Threaded<br>
   306    313               <input type="checkbox" name="option_kitdll">Kit: Build Library (KitDLL)<br>
   307    314             </td>
   308    315           </tr>
          316  +	<tr>
          317  +		<td>Kit Storage:</td>
          318  +		<td>
          319  +			<select name="option_storage">
          320  +				<option value="auto">Automatically Determined</option>
          321  +				<option value="mk4">Metakit</option>
          322  +				<option value="zip">Zip</option>
          323  +				<option value="cvfs">C-VFS</option>
          324  +			</select>
          325  +		</td>
          326  +	</tr>
   309    327   <!--
   310    328           <tr>
   311    329             <td>Kit Icon:</td>
   312    330             <td>
   313    331               <input type="file" name="option_icon">
   314    332             </td>
   315    333           </tr>

Modified build/web/process_queue from [02e30b0d8d] to [15e2d8c10c].

    66     66   			"threaded" {
    67     67   				if {$value} {
    68     68   					lappend args "--enable-threads"
    69     69   				} else {
    70     70   					lappend args "--disable-threads"
    71     71   				}
    72     72   			}
           73  +			"storage" {
           74  +				lappend args "--enable-kit-storage=$value"
           75  +			}
           76  +			"staticmk4" {
           77  +			}
           78  +			"statictk" {
           79  +			}
    73     80   		}
    74     81   	}
    75     82   
    76     83   	catch {
    77     84   		exec ./build/pre.sh
    78     85   	}
    79     86   
    80     87   	catch {
           88  +		set fd [open "${outfile}.log" w]
           89  +		puts $fd "Running: [list $script $buildinfo(tcl_version) {*}$args]"
           90  +		close $fd
    81     91   		exec $script $buildinfo(tcl_version) {*}$args > "${outfile}.log" 2>@1
    82     92   	}
    83     93   
    84     94   	catch {
    85     95   		exec grep ^ {*}[glob */build.log] >> "${outfile}.log"
    86     96   	}
    87     97