OSDN Git Service

[llvm-go] parameterize $GOPATH construction
authorAndrew Wilkins <axwalk@gmail.com>
Wed, 27 Jul 2016 03:21:51 +0000 (03:21 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Wed, 27 Jul 2016 03:21:51 +0000 (03:21 +0000)
commit064517fef6b855f9324a3aa0ae3937c52696f283
tree6f10309cfa147435f6cdbfa1c226e48c3a0ce9b5
parent00429d5fa925f838b2cbd7643a0094a9654d7338
[llvm-go] parameterize $GOPATH construction

Summary:
To build llgo, you must currently ensure that llgo
is in the tools/llgo directory, due to a hard-coded
path in llvm-go.

To support the use of LLVM_EXTERNAL_LLGO_SOURCE_DIR,
we introduce a flag to llvm-go that enables the
caller to specify the paths to symlink in the
temporary $GOPATH.

Reviewers: pcc

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D21634

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276829 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
tools/llvm-go/llvm-go.go