diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-17 23:17:38 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-17 23:17:38 +0000 |
commit | 3a6ee8f25cc906d8b537005bd9dd35abd2f04a51 (patch) | |
tree | f850c5829afd0618824c583f2cbba660e50fa9b1 /llgo | |
parent | 1bffc64a460df2dadc570029988a3a02ef72a882 (diff) | |
download | bcm5719-llvm-3a6ee8f25cc906d8b537005bd9dd35abd2f04a51.tar.gz bcm5719-llvm-3a6ee8f25cc906d8b537005bd9dd35abd2f04a51.zip |
Add cgo dependency to llgo-stage2 and llgoi.
llvm-svn: 232564
Diffstat (limited to 'llgo')
-rw-r--r-- | llgo/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llgo/CMakeLists.txt b/llgo/CMakeLists.txt index 3b55ca47265..f8af71aecc6 100644 --- a/llgo/CMakeLists.txt +++ b/llgo/CMakeLists.txt @@ -105,6 +105,7 @@ add_custom_target(cgo ALL DEPENDS ${CMAKE_BINARY_DIR}/lib/go/llgo-${LLGO_VERSION llvm_add_go_executable(llgo-stage2 llvm.org/llgo/cmd/gllgo 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} GOFLAGS "cc=${CMAKE_BINARY_DIR}/bin/clang" "cxx=${CMAKE_BINARY_DIR}/bin/clang++" @@ -125,6 +126,7 @@ llvm_add_go_executable(cc-wrapper llvm.org/llgo/cmd/cc-wrapper DEPENDS llvm_add_go_executable(llgoi llvm.org/llgo/cmd/llgoi 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} cmd/llgoi/isatty_posix.go cmd/llgoi/llgoi.go |