homebrew-core/Formula/llvm.rb
julienXX 02532ee1b9 LLVM formula
The Low Level Virtual Machine, generally known as LLVM, is a compiler
infrastructure, written in C++, which is designed for compile-time, link-time,
run-time, and "idle-time" optimization of programs written in arbitrary
programming languages.
2009-08-31 18:09:06 +01:00

15 lines
433 B
Ruby

require 'brewkit'
class Llvm <Formula
@url='http://llvm.org/releases/2.5/llvm-2.5.tar.gz'
@homepage='http://llvm.org/'
@md5='55df2ea8665c8094ad2ef85187b9fc74'
def install
system "./configure", "--prefix=#{prefix}",
"--enable-targets=x86",
"--enable-optimized"
system "make"
system "make install" # seperate steps required, otherwise the build fails
end
end