Skip to content
Newer
Older
100644 379 lines (295 sloc) 9.08 KB
90c05c1 @drbrain Update INSTALL to latest information.
drbrain authored Oct 18, 2007
1 # NOTE! When updating this file, also update INSTALL, if necessary.
2
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 4, 2007
3 require 'tsort'
4
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
5 task :default => :build
8dd2b6b @evanphx r43@vatu: evan | 2006-08-24 16:34:21 -0700
evanphx authored Aug 24, 2006
6
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
7 class Hash
8 include TSort
9
10 alias tsort_each_node each_key
11
12 def tsort_each_child(node, &block)
13 fetch(node).each(&block)
14 end
15 end
16
dc16b49 @wilson * Near-total rewrite of the Rakefile. Tasks that use rcompile are in …
wilson authored May 18, 2007
17 def newer?(file, cmp)
18 File.exists?(cmp) and File.mtime(cmp) >= File.mtime(file)
19 end
939f9ac @evanphx Revert array changes back to r1088. r1089 is busted bigtime.
evanphx authored May 21, 2007
20
8634917 @evanphx Load order files are now in alphabetical order if there are no other …
evanphx authored Oct 17, 2007
21 @setup_stable = false
22
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
23 def setup_stable
8634917 @evanphx Load order files are now in alphabetical order if there are no other …
evanphx authored Oct 17, 2007
24 return if @setup_stable
25 @setup_stable = true
26
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
27 @pb = "runtime/stable/bootstrap.rba"
28 @pp = "runtime/stable/platform.rba"
29 @pc = "runtime/stable/core.rba"
30 @pl = "runtime/stable/loader.rbc"
31 @pr = "runtime/stable/compiler.rba"
32
33 if ENV['USE_CURRENT']
34 puts "Use current versions, not stable."
35 else
36 ENV['BOOTSTRAP'] = @pb
37 ENV['CORE'] = @pc
38 ENV['LOADER'] = @pl
39 ENV['PLATFORM'] = @pp
40 ENV['COMPILER'] = @pr
41 end
54cae11 @evanphx Added more IO stuff and platform methods.
evanphx authored Aug 23, 2007
42
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
43 @compiler = ENV['COMPILER']
be1a8ed @wilson Include compiler archive in list of files managed by 'dev:setup'
wilson authored Sep 13, 2007
44 end
45
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
46 def source_name(compiled)
47 File.basename(compiled, '.*') + '.rb'
48 end
49
50 def compiled_name(source, dir)
51 File.join(dir, File.basename(source, '.*') + '.rbc')
52 end
53
54 # Some files have load order dependencies. To specify a load order
55 # dependency, include a comment in the file that has the dependency.
56 # For example, assume files a.rb and b.rb, where a.rb requires that
57 # b.rb is loaded first. In a.rb, include a comment
58 # # depends on: b.rb
59 #
60 # The 'depends on:' declaration takes a space separated list of file.
61 # When the '.load_order.txt' file is created, a topological sort
62 # (see name caveat in TSort) of the dependencies is performed
63 # so files that are depended on are loaded first.
64 #
65 # If there is a 'depends on:' declarations for a non-existent file,
66 # or if there are cyclic dependencies, this method will not create
67 # the '.load_order.txt' file.
68
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
69 def create_load_order(files, output=".load_order.txt")
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
70 d = Hash.new { |h,k| h[k] = [] }
71
72 # assume all the files are in the same directory
73 dir = File.dirname(files.first)
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
74 found = false
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
75 files.each do |fname|
76 name = source_name(fname)
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
77 # Force every entry to be in the hash
78 d[name]
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
79 File.open(File.join(dir, name), "r") do |f|
80 f.each do |line|
81 if m = /#\s*depends on:\s*(.*)/.match(line)
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
82 found = true
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
83 m[1].split.each { |dep| d[name] << dep }
84 end
85 end
86 end
87 end
88
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
89 File.open(output, "w") do |f|
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
90 begin
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
91 if found
8634917 @evanphx Load order files are now in alphabetical order if there are no other …
evanphx authored Oct 17, 2007
92 list = d.tsort
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
93 else
94 list = files.sort
8634917 @evanphx Load order files are now in alphabetical order if there are no other …
evanphx authored Oct 17, 2007
95 end
96
97 f.puts list.collect { |n| compiled_name(n, dir) }.join("\n")
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
98 rescue IndexError => e
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
99 puts "Unable to generate '.load_order.txt'"
100 puts "Most likely, a file includes a 'depends on:' declaration for a non-existent file"
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
101 raise e
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
102 rescue TSort::Cyclic => e
103 puts "Unable to generate '.load_order.txt' due to a cyclic dependency\n (#{e.message})"
ade5bc1 @evanphx Fix tsort in the Rakefile
evanphx authored Oct 17, 2007
104 raise e
da5f9e6 @brixen Added load-order dependency generation to rake build:(core|platform) …
brixen authored Sep 5, 2007
105 end
106 end
107 end
108
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
109 def compile(name, output)
8634917 @evanphx Load order files are now in alphabetical order if there are no other …
evanphx authored Oct 17, 2007
110 setup_stable
111
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
112 dir = File.dirname(output)
113 unless File.exists?(dir)
114 FileUtils.mkdir_p dir
115 end
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
116
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
117 if @compiler
118 sh "shotgun/rubinius -I#{@compiler} compile #{name} #{output}", :verbose => false
119 else
120 sh "shotgun/rubinius compile #{name} #{output}", :verbose => false
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
121 end
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
122 end
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
123
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
124 rule ".rbc" => ".rb" do |t|
125 compile(t.source, t.name)
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
126 end
127
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
128 #file 'runtime/core/kernel/core/proc.rbc' => 'kernel/core/proc.rb' do |t|
129 # p t.prerequisites
130 # p t.name
131 #end
132
133 class CodeGroup
134 def initialize(files, dir, load_order=true)
135 @files = FileList[files]
136 @output = nil
137 @directory = dir
138 map(dir, load_order)
139 end
140
141 attr_reader :output
142
143 def map(dir, load_order)
144
145 unless File.exists?(dir)
146 Dir.mkdir dir
147 end
148
149 prc = proc do |t|
150 compile(t.prerequisites.first, t.name)
151 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
152
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
153 @output = []
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
154
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
155 @files.each do |source|
156 runtime = File.join(dir, source.ext("rbc"))
157 @output << runtime
158 file(runtime => source, &prc)
159 end
160
161 if load_order
162
163 lo = File.join(dir, '.load_order.txt')
164
165 file lo => @files do
166 create_load_order(@files, lo)
567d4f7 @evanphx Stack allocated lvars, GC fixes, compiler changes, oh my!
evanphx authored Jul 17, 2007
167 end
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
168
169 @output << lo
6b9c27b Complete rspec coverage of subtend string compat to date.
Kev authored May 4, 2007
170 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
171
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
172 return @output
cdfdc27 Added my idea of a sanity check against MRI for compatibility purposes
Mae authored Dec 26, 2006
173 end
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
174
175 def clean
176 sh "find #{@directory} -name '*.rbc' -delete"
086f889 * bin/specrunner is a small bash kludge for running mini_rspec over
Eero Saynatkari authored May 2, 2007
177 end
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
178 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
179
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
180 Core = CodeGroup.new 'kernel/core/*.rb', 'runtime/core'
181 Bootstrap = CodeGroup.new 'kernel/bootstrap/*.rb', 'runtime/bootstrap'
182 Platform = CodeGroup.new 'kernel/platform/*.rb', 'runtime/platform'
183 Compiler = CodeGroup.new 'compiler/**/*.rb', 'runtime', false
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
184
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
185 file 'runtime/loader.rbc' => 'kernel/loader.rb' do
186 compile 'kernel/loader.rb', 'runtime/loader.rbc'
4d4f6fa @brixen Added namespaces to the Rakefile with aliases to the old tasks.
brixen authored Dec 14, 2006
187 end
188
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
189 AllPreCompiled = Core.output + Bootstrap.output + Platform.output + Compiler.output
190 AllPreCompiled << "runtime/loader.rbc"
191
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
192 # spec tasks
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
193 desc "Run all 'known good' specs (task alias for spec:ci)"
8b118bf Removed legacy rake tasks
Brian Ford authored Aug 11, 2007
194 task :spec => 'spec:ci'
d0e6b65 @brixen changes to support better CI specs
brixen authored Aug 18, 2007
195
03dfae6 @brixen Added rake task spec:ci. added svn:executable for bin/mspec. enhanced…
brixen authored Jun 11, 2007
196 namespace :spec do
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
197 namespace :setup do
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
198 # Setup for 'Subtend' specs. No need to call this yourself.
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
199 task :subtend do
ed682b8 @mkhl Fix rake spec:subtend:setup.
mkhl authored Sep 25, 2007
200 Dir["spec/subtend/**/Rakefile"].each do |rakefile|
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
201 sh "rake -f #{rakefile}"
202 end
203 end
204 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
205
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
206 desc "Run continuous integration examples"
03dfae6 @brixen Added rake task spec:ci. added svn:executable for bin/mspec. enhanced…
brixen authored Jun 11, 2007
207 task :ci do
c7d623e @brixen enhanced spec:ci to take a target on the command line, invoke like: S…
brixen authored Jun 26, 2007
208 target = ENV['SPEC_TARGET'] || 'rbx'
209 system %(shotgun/rubinius -e 'puts "rbx build: \#{Rubinius::BUILDREV}"') if target == 'rbx'
4ef0b9f @brixen Updated exclusion list for CI specs.
brixen authored Aug 22, 2007
210 sh "bin/ci -t #{target}"
03dfae6 @brixen Added rake task spec:ci. added svn:executable for bin/mspec. enhanced…
brixen authored Jun 11, 2007
211 end
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
212
8b118bf Removed legacy rake tasks
Brian Ford authored Aug 12, 2007
213 spec_targets = %w(compiler core language library parser rubinius)
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
214 # Build a spec:<task_name> for each group of Rubinius specs
215 spec_targets.each do |group|
216 desc "Run #{group} examples"
d08e789 @brixen fixed typo. bad typo. that's a no.
brixen authored Jun 11, 2007
217 task group do
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
218 sh "bin/mspec spec/#{group}"
219 end
220 end
221
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
222 desc "Run subtend (Rubinius C API) examples"
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
223 task :subtend => "spec:setup:subtend" do
d0e6b65 @brixen changes to support better CI specs
brixen authored Aug 19, 2007
224 sh "bin/mspec spec/rubinius/subtend"
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
225 end
226
227 # Specdiffs to make it easier to see what your changes have affected :)
228 desc 'Run specs and produce a diff against current base'
229 task :diff => 'diff:run'
230
231 namespace :diff do
232 desc 'Run specs and produce a diff against current base'
233 task :run do
d0e6b65 @brixen changes to support better CI specs
brixen authored Aug 19, 2007
234 system 'bin/mspec -f ci -o spec/reports/specdiff.txt spec'
235 system 'diff -u spec/reports/base.txt spec/reports/specdiff.txt'
236 system 'rm spec/reports/specdiff.txt'
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
237 end
238
239 desc 'Replace the base spec file with a new one'
240 task :replace do
d0e6b65 @brixen changes to support better CI specs
brixen authored Aug 19, 2007
241 system 'bin/mspec -f ci -o spec/reports/base.txt spec'
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
242 end
243 end
d630d96 Rakefile now supports rake report:all which runs all of the reports. …
Ryantm authored Jun 19, 2007
244
245 task :r2r do
246 puts ARGV.inspect
247 end
03dfae6 @brixen Added rake task spec:ci. added svn:executable for bin/mspec. enhanced…
brixen authored Jun 11, 2007
248 end
249
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
250 desc "Build everything that needs to be built"
251 task :build => ['build:all']
6e51eee @brixen put guards on imcompatible specs to prevent ruby, jruby from running …
brixen authored Jun 11, 2007
252
2449c03 @drbrain Make install put lib files in the right place.
drbrain authored Oct 19, 2007
253 def install_files(files, destination)
254 files.sort.each do |path|
255 next if File.directory? path
256
257 file = path.sub %r%^(runtime|lib)/%, ''
258 dest_file = File.join destination, file
259 dest_dir = File.dirname dest_file
260 mkdir_p dest_dir unless File.directory? dest_dir
261
262 install path, dest_file, :mode => 0644, :verbose => true
263 end
264 end
265
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
266 desc "Install rubinius as rbx"
9a2747f @drbrain Move install target to install task. Make install task work.
drbrain authored Oct 18, 2007
267 task :install => :config_env do
268 sh "cd shotgun; make install"
269
270 mkdir_p ENV['RBAPATH'], :verbose => true
271 mkdir_p ENV['CODEPATH'], :verbose => true
272
e5517d5 @drbrain Also need to install .load_order.txt files. My bad.
drbrain authored Oct 18, 2007
273 rba_files = Rake::FileList.new('runtime/**/*.rb{a,c}',
2449c03 @drbrain Make install put lib files in the right place.
drbrain authored Oct 19, 2007
274 'runtime/**/.load_order.txt')
9a2747f @drbrain Move install target to install task. Make install task work.
drbrain authored Oct 18, 2007
275
2449c03 @drbrain Make install put lib files in the right place.
drbrain authored Oct 19, 2007
276 install_files rba_files, ENV['RBAPATH']
9a2747f @drbrain Move install target to install task. Make install task work.
drbrain authored Oct 18, 2007
277
2449c03 @drbrain Make install put lib files in the right place.
drbrain authored Oct 19, 2007
278 lib_files = Rake::FileList.new 'lib/**/*'
9a2747f @drbrain Move install target to install task. Make install task work.
drbrain authored Oct 18, 2007
279
2449c03 @drbrain Make install put lib files in the right place.
drbrain authored Oct 19, 2007
280 install_files lib_files, ENV['CODEPATH']
9a2747f @drbrain Move install target to install task. Make install task work.
drbrain authored Oct 18, 2007
281
282 mkdir_p File.join(ENV['CODEPATH'], 'bin'), :verbose => true
283
284 Rake::FileList.new("#{ENV['CODEPATH']}/**/*.rb").sort.each do |rb_file|
285 sh File.join(ENV['BINPATH'], 'rbx'), 'compile', rb_file, :verbose => true
286 end
287 end
288
289 task :config_env do
290 File.foreach 'shotgun/config.mk' do |line|
291 next unless line =~ /(.*?)=(.*)/
292 ENV[$1] = $2
293 end
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
294 end
295
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
296 desc "Recompile all ruby system files"
297 task :rebuild => ['clean:rbc', 'clean:shotgun', 'build:all']
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
298
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
299 desc "Remove all ruby system files"
300 task :distclean => 'clean:rbc'
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
301
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
302 desc "Remove all stray compiled Ruby files"
303 task :pristine do
304 FileList['**/*.rbc'].each do |fn|
305 next if /^runtime/.match(fn)
306 FileUtils.rm fn rescue nil
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
307 end
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
308 end
5468980 @evanphx kernel/ reorg! New functionality goes in kernel/core only. kernel.rba…
evanphx authored Jan 21, 2007
309
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
310 namespace :clean do
311
312 desc "Remove all compile system ruby files (runtime/)"
313 task :rbc do
314 AllPreCompiled.each do |f|
315 File.unlink f rescue nil
dc16b49 @wilson * Near-total rewrite of the Rakefile. Tasks that use rcompile are in …
wilson authored May 18, 2007
316 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
317 end
5468980 @evanphx kernel/ reorg! New functionality goes in kernel/core only. kernel.rba…
evanphx authored Jan 21, 2007
318
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
319 desc "Cleans up VM building site"
320 task :shotgun do
321 sh "make clean"
322 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
323 end
404f8ab Don't call configure on build:shotgun everytime.
Tilman authored Jun 16, 2007
324
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
325 namespace :build do
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
326
327 task :all => ["build:shotgun", "build:rbc"]
328
329 # This nobody rule lets use use all the shotgun files as
330 # prereqs. This rule is run for all those prereqs and just
331 # (obviously) does nothing, but it makes rake happy.
332 rule '^shotgun/.+' do
333 end
334
335 c_source = FileList["shotgun/lib/*.[ch]", "shotgun/main.c",
336 "shotgun/lib/*.rb", "shotgun/lib/subtend/*.[chS]"]
337
338 file "shotgun/rubinius.bin" => c_source do
339 sh "make vm"
340 end
341
10ccba7 Extensions are built via rake now rather than make.
Tilman Sauerbeck authored Oct 18, 2007
342 task :extensions => ["build:shotgun", "build:rbc"] do
343 sh "./shotgun/rubinius compile lib/ext/syck"
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
344 end
345
404f8ab Don't call configure on build:shotgun everytime.
Tilman authored Jun 16, 2007
346 file "shotgun/config.h" do
dc16b49 @wilson * Near-total rewrite of the Rakefile. Tasks that use rcompile are in …
wilson authored May 18, 2007
347 sh "./configure"
348 raise 'Failed to configure Rubinius' unless $?.success?
3751f33 @evanphx * Reworked the Rakefile to build the compiler by detection, like boot…
evanphx authored May 16, 2007
349 end
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
350
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
351 task :configure => ["shotgun/config.h"]
970dca2 @wilson Rakefile cleanup. Removed some tasks, renamed others. rake -T for det…
wilson authored Aug 30, 2007
352
dc16b49 @wilson * Near-total rewrite of the Rakefile. Tasks that use rcompile are in …
wilson authored May 18, 2007
353 desc "Compiles shotgun (the C-code VM)"
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
354 task :shotgun => [:configure, "shotgun/rubinius.bin"]
355
356 task :setup_rbc do
329ec45 @evanphx Loading directly from directory structure
evanphx authored Oct 2, 2007
357 setup_stable
34ad791 * Disabled Lightning's dissembler on amd64
Eero Saynatkari authored May 14, 2007
358 end
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
359
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
360 task :rbc => ([:setup_rbc] + AllPreCompiled)
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
361
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
362 task :core => :rbc do
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
363 raise "OBSOLETE. Use 'rake build'"
6001be6 @evanphx loader.rb is now seperated from bootstrap and core.
evanphx authored Jul 17, 2007
364 end
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
365
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
366 task :bootstrap => :rbc do
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
367 raise "OBSOLETE. Use 'rake build'"
e8b73c6 @wilson * Added build:delete_rbc task to clean up all rbc files, everywhere.
wilson authored Jan 8, 2007
368 end
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
369
4638b74 @evanphx Vast rework of the Rakefile and build process
evanphx authored Oct 17, 2007
370 task :platform => :rbc do
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
371 raise "OBSOLETE. Use 'rake build'"
9e24421 @wilson * Use a random pivot point for better worst-case Array#sort performance
wilson authored May 25, 2007
372 end
373
93c6297 @drbrain Add install task, remove tasks task, make build task default, make ob…
drbrain authored Oct 18, 2007
374 task :loader => :rbc do
375 raise "OBSOLETE. Use 'rake build'"
121d2bb @evanphx A little magic for a more bulletproof process. Run rake dev:setup aft…
evanphx authored Jul 4, 2007
376 end
377 end
378
Something went wrong with that request. Please try again.