Skip to content

Commit

Permalink
Move Go files to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Mar 26, 2014
1 parent d4122a5 commit 11c64bf
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 11c64bf

Please sign in to comment.