public
Rubygem
Description: LLVM bindings for Ruby
Homepage: http://llvmruby.org
Clone URL: git://github.com/tombagby/llvmruby.git
Update README regarding build process + gemification
tombagby (author)
Sat Oct 18 16:49:55 -0700 2008
commit  05ce65372eee190044e77150770984a992f46da3
tree    f0efff7b08d3c3043726cc7883483446b82801e1
parent  c5dc8ef5e7697e473ef3b2e2fd95476216cf8839
...
4
5
6
 
...
4
5
6
7
0
@@ -4,3 +4,4 @@ mkmf.log
0
 *.o
0
 *.bundle
0
 *.dSYM
0
+*.gem
0
...
19
20
21
22
 
23
24
 
25
26
27
28
29
30
 
31
32
33
34
35
36
 
 
 
 
 
37
38
39
...
19
20
21
 
22
23
 
24
25
 
 
 
 
 
26
27
28
29
30
31
 
32
33
34
35
36
37
38
39
0
@@ -19,21 +19,21 @@ Make sure that you configure LLVM with PIC enabled:
0
 
0
 Add the llvm bin directory to your path, extconf needs to be able to find llvm-conf:
0
 
0
-  $ export PATH=$PATH:/$LLVMDIR/Debug/bin
0
+  $ export PATH=$PATH:/$LLVMDIR/Release/bin
0
 
0
-Once you have built LLVM, run extconf.rb giving it location of LLVM:
0
+Run rake
0
 
0
-  $ ruby extconf.rb --with-llvm-include=/$DIR/llvm/include --with-llvm-lib=/$DIR/llvm/Debug/lib
0
-
0
-Run make
0
-
0
-  $ make
0
+  $ rake
0
 
0
 Run the tests (you will need Rake installed)
0
 
0
   $ rake test
0
 
0
-Look in test.rb to see examples of use and start messing around.
0
+Look in test.rb to see examples of use and start messing around.  The
0
+project was recently reorganized in gem format with Ruby files in lib,
0
+and C/CPP and extension in ext.  You will need to either load the 
0
+library as a gem or make sure that both lib and ext dirs are in your
0
+load path.
0
 
0
 * Caveats
0
 

Comments