aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulienXX2009-08-31 15:45:04 +0200
committerMax Howell2009-08-31 18:09:06 +0100
commitec8dc376d480348ad4346906534ad3ba2a521a09 (patch)
tree93836429a32eec70474ef309a8f6abc645705cd7
parent74369ee3a52b7a3a8694095ef357e3b17a7044ac (diff)
downloadhomebrew-ec8dc376d480348ad4346906534ad3ba2a521a09.tar.bz2
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.
-rw-r--r--Library/Formula/llvm.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
new file mode 100644
index 000000000..8a6a5e7d2
--- /dev/null
+++ b/Library/Formula/llvm.rb
@@ -0,0 +1,15 @@
+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