This is an archive of the discontinued LLVM Phabricator instance.

[cmake] pass GO_EXECUTABLE to llgo-go
ClosedPublic

Authored by axw on Jul 17 2015, 2:59 AM.

Details

Summary

When calling llgo-go from the llvm_add_go_executable
cmake function, specify $GO_EXECUTABLE as the go
command to call. Without this, llgo-go searches $PATH
which may be inconsistent with $GO_EXECUTABLE.

Diff Detail

Event Timeline

axw updated this revision to Diff 29986.Jul 17 2015, 2:59 AM
axw retitled this revision from to [cmake] pass GO_EXECUTABLE to llgo-go.
axw updated this object.
axw added a reviewer: pcc.
axw added a subscriber: llvm-commits.
pcc accepted this revision.Jul 17 2015, 3:49 AM
pcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 17 2015, 3:49 AM
axw closed this revision.Jul 20 2015, 5:46 PM