<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 26, 2016 at 3:52 PM, Justin Bogner <span dir="ltr"><<a href="mailto:mail@justinbogner.com" target="_blank">mail@justinbogner.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I believe you can disable the tests using -DLLVM_INCLUDE_GO_TESTS=No.<br>
This won't stop the bindings from being built though.<br></blockquote><div><br></div><div>Yes this works. Thanks, but see below -- I think the tests should work.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div><br>
Peter Collingbourne via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> writes:<br>
> The Go bindings are enabled if you have a 'go' executable in your $PATH and<br>
> it is at least Go 1.2.<br>
><br>
> I don't think there is a way to explicitly disable the bindings, but you<br>
> might try adding one (see llvm/cmake/config-ix.cmake).<br></div></div></blockquote><div><br></div><div>The bindings seem to be building but my GOROOT is /home/tim/apps/go not /usr/local/go</div><div><br></div><div>I searched around a bit and could not figure out how the GOROOT is lost in the test. If I symlink /usr/local/go to my GOROOT the regression tests run fine:</div><div><br></div><div><div>[100%] Running all regression tests</div><div>lit.py: lit.cfg:195: note: using clang: '/home/tim/Source/llvm-trunk/build/./bin/clang'</div><div>Testing Time: 246.71s</div><div>  Expected Passes    : 25722</div><div>  Expected Failures  : 164</div><div>  Unsupported Tests  : 516</div><div>[100%] Built target check-all</div><div>{tim@arkham:~/Source/llvm-trunk/build} </div></div><div><br></div><div>This is on Linux and GOROOT is exported in .profile as</div><div><br></div><div><div># Go</div><div>export GOROOT=$HOME/apps/go</div><div>export PATH=$PATH:$GOROOT/bin</div></div><div><br></div><div>Any idea why the tests ignore this setting.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
><br>
> Can you show us the rest of the output from make check-llvm?<br>
><br>
> Peter<br></div></div></blockquote><div><br></div><div>See text file attached (when it breaks due to my GOROOT setting)</div></div><div><br></div>-- <br><div>Tim Halloran<br>SureLogic, Inc.<br>5808 Forbes Avenue, Pittsburgh PA 15217-1602<br><a href="tel:%28412%29%20722-3338" value="+14127223338" target="_blank">(412) 722-3338</a></div>
</div></div>