diff --git a/README.md b/README.md index c1338b9..d6d3b3f 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,23 @@ GoLLVM Prerequisites ------------- -* LLVM 3.1+. LLVM must have been built with shared libraries enabled. -* Go 1.0+. +* LLVM 3.3+. LLVM must have been built with shared libraries enabled. +* Go 1.2+. -The author has only built and tested with Linux, but there is no particular reason why GoLLVM should not work with other operating systems. +The author has only built and tested with Linux, but there is no particular +reason why GoLLVM should not work with other operating systems. Installation ------------ To install, run the following (assuming you have curl and Go installed): - curl https://raw.github.com/axw/gollvm/master/install.sh | sh + curl https://raw.github.com/go-llvm/master/install.sh | sh Alternatively, you can use `go get` directly, but you must then set the CGO\_CFLAGS and CGO\_LDFLAGS environment variables: $ export CGO_CFLAGS=`llvm-config --cflags` $ export CGO_LDFLAGS="`llvm-config --ldflags` -Wl,-L`llvm-config --libdir` -lLLVM-`llvm-config --version`" - $ go get github.com/axw/gollvm/llvm + $ go get github.com/go-llvm/llvm diff --git a/llvm/analysis.go b/analysis.go similarity index 100% rename from llvm/analysis.go rename to analysis.go diff --git a/llvm/bitreader.go b/bitreader.go similarity index 100% rename from llvm/bitreader.go rename to bitreader.go diff --git a/llvm/bitwriter.go b/bitwriter.go similarity index 100% rename from llvm/bitwriter.go rename to bitwriter.go diff --git a/llvm/core.go b/core.go similarity index 100% rename from llvm/core.go rename to core.go diff --git a/llvm/debug.go b/debug.go similarity index 100% rename from llvm/debug.go rename to debug.go diff --git a/llvm/executionengine.go b/executionengine.go similarity index 100% rename from llvm/executionengine.go rename to executionengine.go diff --git a/llvm/executionengine_test.go b/executionengine_test.go similarity index 100% rename from llvm/executionengine_test.go rename to executionengine_test.go diff --git a/llvm/linker.go b/linker.go similarity index 100% rename from llvm/linker.go rename to linker.go diff --git a/llvm/string.go b/string.go similarity index 100% rename from llvm/string.go rename to string.go diff --git a/llvm/string_test.go b/string_test.go similarity index 100% rename from llvm/string_test.go rename to string_test.go diff --git a/llvm/target.go b/target.go similarity index 100% rename from llvm/target.go rename to target.go diff --git a/llvm/transforms_ipo.go b/transforms_ipo.go similarity index 100% rename from llvm/transforms_ipo.go rename to transforms_ipo.go diff --git a/llvm/transforms_scalar.go b/transforms_scalar.go similarity index 100% rename from llvm/transforms_scalar.go rename to transforms_scalar.go