77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
lappend args "--enable-symbols"
set ::env(STRIP) true
}
}
"storage" {
lappend args "--enable-kit-storage=$value"
}
"staticmk4" {
}
"statictk" {
}
}
}
catch {
exec ./build/pre.sh
}
catch {
file delete "${outfile}.log"
}
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)\""
}
puts $fd "Running: $cmd"
close $fd
}
catch {
exec {*}$cmd >> "${outfile}.log" 2>@1
|
|
>
|
>
>
>
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
lappend args "--enable-symbols"
set ::env(STRIP) true
}
}
"storage" {
lappend args "--enable-kit-storage=$value"
}
"dynamictk" {
set ::env(STATICTK) -1
}
"staticmk4" {
}
}
}
catch {
exec ./build/pre.sh
}
catch {
file delete "${outfile}.log"
}
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)\""
}
puts $fd "Running: $cmd"
close $fd
}
catch {
exec {*}$cmd >> "${outfile}.log" 2>@1
|