From 11c64bfbf57297ae16aebc138cf5c59d4d595c80 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 26 Mar 2014 11:21:34 +0800 Subject: [PATCH] Move Go files to top level --- README.md | 11 ++++++----- llvm/analysis.go => analysis.go | 0 llvm/bitreader.go => bitreader.go | 0 llvm/bitwriter.go => bitwriter.go | 0 llvm/core.go => core.go | 0 llvm/debug.go => debug.go | 0 llvm/executionengine.go => executionengine.go | 0 ...executionengine_test.go => executionengine_test.go | 0 llvm/linker.go => linker.go | 0 llvm/string.go => string.go | 0 llvm/string_test.go => string_test.go | 0 llvm/target.go => target.go | 0 llvm/transforms_ipo.go => transforms_ipo.go | 0 llvm/transforms_scalar.go => transforms_scalar.go | 0 14 files changed, 6 insertions(+), 5 deletions(-) rename llvm/analysis.go => analysis.go (100%) rename llvm/bitreader.go => bitreader.go (100%) rename llvm/bitwriter.go => bitwriter.go (100%) rename llvm/core.go => core.go (100%) rename llvm/debug.go => debug.go (100%) rename llvm/executionengine.go => executionengine.go (100%) rename llvm/executionengine_test.go => executionengine_test.go (100%) rename llvm/linker.go => linker.go (100%) rename llvm/string.go => string.go (100%) rename llvm/string_test.go => string_test.go (100%) rename llvm/target.go => target.go (100%) rename llvm/transforms_ipo.go => transforms_ipo.go (100%) rename llvm/transforms_scalar.go => transforms_scalar.go (100%) 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