I installed go (to play around with from glang.org) but it has caused my ‘llvm check-all’ build to fail the LLVM :: Bindings/Go/go.test test.
I’m not sure what triggered this test (setting $GOROOT?) but if someone could please point me to the docs on how to fix my setup or shutoff this test, many thanks!
MORE DETAILS (log from make check-all, and my setup of go)
I believe you can disable the tests using -DLLVM_INCLUDE_GO_TESTS=No.
This won't stop the bindings from being built though.
Yes this works. Thanks, but see below -- I think the tests should work.
Peter Collingbourne via cfe-dev <cfe-dev@lists.llvm.org> writes:
> The Go bindings are enabled if you have a 'go' executable in your $PATH
and
> it is at least Go 1.2.
>
> I don't think there is a way to explicitly disable the bindings, but you
> might try adding one (see llvm/cmake/config-ix.cmake).
The bindings seem to be building but my GOROOT is /home/tim/apps/go not
/usr/local/go
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: