[PATCH] D11291: [llgo] build llgoi by default

Andrew Wilkins axwalk at gmail.com
Fri Jul 17 03:43:38 PDT 2015


axw created this revision.
axw added a reviewer: pcc.
axw added a subscriber: llvm-commits.

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".

http://reviews.llvm.org/D11291

Files:
  CMakeLists.txt

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -127,7 +127,7 @@
   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}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11291.29989.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/0f37de84/attachment.bin>


More information about the llvm-commits mailing list