summaryrefslogtreecommitdiffstats
path: root/llgo
diff options
context:
space:
mode:
authorAndrew Wilkins <axwalk@gmail.com>2015-07-21 00:47:18 +0000
committerAndrew Wilkins <axwalk@gmail.com>2015-07-21 00:47:18 +0000
commit4a628bb9e1519071e87bee3a4562b60bf61f9fd8 (patch)
treef84c691c26054856bbe67dab03e149f045057f1a /llgo
parent6c1bfa93f50ecac369ac0b892989e913642d5215 (diff)
downloadbcm5719-llvm-4a628bb9e1519071e87bee3a4562b60bf61f9fd8.tar.gz
bcm5719-llvm-4a628bb9e1519071e87bee3a4562b60bf61f9fd8.zip
[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
Diffstat (limited to 'llgo')
-rw-r--r--llgo/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/CMakeLists.txt b/llgo/CMakeLists.txt
index 356f00d71e6..9c137f92e14 100644
--- a/llgo/CMakeLists.txt
+++ b/llgo/CMakeLists.txt
@@ -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}
OpenPOWER on IntegriCloud