[llgo] build llgoi by default

Summary:
As llgoi is installed, it must be built or the install
target will fail; there is no implicit dependency.
Adding llgoi to "ALL" makes building llgo as part of an
entire LLVM distribution a bit friendlier: you can then
just do the typical "make && make install".

Reviewers: pcc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11291

llvm-svn: 242750
This commit is contained in:
Andrew Wilkins 2015-07-21 00:47:18 +00:00
parent 6c1bfa93f5
commit 4a628bb9e1
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ llvm_add_go_executable(cc-wrapper llvm.org/llgo/cmd/cc-wrapper DEPENDS
cmd/cc-wrapper/main.go
)
llvm_add_go_executable(llgoi llvm.org/llgo/cmd/llgoi
llvm_add_go_executable(llgoi llvm.org/llgo/cmd/llgoi ALL
DEPENDS libgo ${CMAKE_BINARY_DIR}/bin/llgo${CMAKE_EXECUTABLE_SUFFIX}
${CMAKE_BINARY_DIR}/lib/go/llgo-${LLGO_VERSION}/cgo
${CMAKE_BINARY_DIR}/bin/llgo-go${CMAKE_EXECUTABLE_SUFFIX}