Skip to content

Commit

Permalink
Load Daedalus blueprint later because LLVM might not be initialized yet
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Mar 25, 2011
1 parent 2675eb8 commit eeeda57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rakelib/vm.rake
Expand Up @@ -166,7 +166,6 @@ task 'vm/gen/revision.h' do |t|
end

require 'projects/daedalus/daedalus'
blueprint = Daedalus.load "rakelib/blueprint.rb"

if jobs = ENV['JOBS']
@parallel_jobs = jobs.to_i
Expand All @@ -181,10 +180,12 @@ else
end

task 'vm/vm' => GENERATED do
blueprint = Daedalus.load "rakelib/blueprint.rb"
blueprint.build "vm/vm", @parallel_jobs
end

task 'vm/test/runner' => GENERATED do
blueprint = Daedalus.load "rakelib/blueprint.rb"
blueprint.build "vm/test/runner", @parallel_jobs
end

Expand Down Expand Up @@ -265,6 +266,7 @@ namespace :vm do

desc "Clean up vm build files"
task :clean do
blueprint = Daedalus.load "rakelib/blueprint.rb"
files = FileList[
GENERATED,
'vm/gen/*',
Expand Down

0 comments on commit eeeda57

Please sign in to comment.