Skip to content

Commit

Permalink
Remove LLVM-related Rake tasks
Browse files Browse the repository at this point in the history
Related to 5805f15
  • Loading branch information
jc00ke committed Nov 4, 2014
1 parent 5bba15d commit 110da0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
16 changes: 0 additions & 16 deletions rakelib/package.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,6 @@ require 'rakelib/package'
require 'date'

namespace :package do
desc "Package up the LLVM build into a tar.gz"
task :llvm do
host_triple = Rubinius::BUILD_CONFIG[:host]
llvm_version = Rubinius::BUILD_CONFIG[:llvm_version]
gcc_major_version = Rubinius::BUILD_CONFIG[:gcc_major]
if host_triple == "i686-pc-linux-gnu" || host_triple == "x86_64-unknown-linux-gnu"
prebuilt_archive = "llvm-#{llvm_version}-#{host_triple}-#{gcc_major_version}.tar.bz2"
else
prebuilt_archive = "llvm-#{llvm_version}-#{host_triple}.tar.bz2"
end

sh "tar -c -C vendor/llvm --exclude .svn --exclude \"*.dylib\" --exclude \"*.so\" -f - Release/lib Release/bin/llvm-config include | bzip2 -9 > #{prebuilt_archive}"

write_md5_digest_file prebuilt_archive
write_sha1_digest_file prebuilt_archive
end

desc "Create a release tarball from the source"
task :tar do
Expand Down
17 changes: 0 additions & 17 deletions rakelib/vm.rake
Original file line number Diff line number Diff line change
Expand Up @@ -154,25 +154,8 @@ end
# Build options.
namespace :build do

desc "Build LLVM"
task :llvm do
if Rubinius::BUILD_CONFIG[:llvm] == :svn
unless File.file?("vendor/llvm/Release/bin/llvm-config")
Dir.chdir "vendor/llvm" do
host = Rubinius::BUILD_CONFIG[:host]
llvm_config_flags = "--build=#{host} --host=#{host} " \
"--enable-optimized --disable-assertions "\
" --enable-targets=host,cpp"
sh %[sh -c "#{File.expand_path("./configure")} #{llvm_config_flags}"]
sh Rubinius::BUILD_CONFIG[:build_make]
end
end
end
end

# Issue the actual build commands. NEVER USE DIRECTLY.
task :build => %W[
build:llvm
#{VM_EXE}
compiler:generate
stage:bin
Expand Down

0 comments on commit 110da0d

Please sign in to comment.