[cfe-dev] Question on test failure: LLVM :: Bindings/Go/go.test
Justin Bogner via cfe-dev
cfe-dev at lists.llvm.org
Tue Jan 26 12:52:48 PST 2016
I believe you can disable the tests using -DLLVM_INCLUDE_GO_TESTS=No.
This won't stop the bindings from being built though.
Peter Collingbourne via cfe-dev <cfe-dev at 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).
>
> Can you show us the rest of the output from make check-llvm?
>
> Peter
>
> On Tue, Jan 26, 2016 at 11:17:54AM -0500, Tim Halloran via cfe-dev wrote:
>> (on trunk 258810)
>>
>> 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)
>>
>> ********************
>> Testing Time: 273.07s
>> ********************
>> Failing Tests (1):
>> LLVM :: Bindings/Go/go.test
>>
>> Expected Passes : 25700
>> Expected Failures : 164
>> Unsupported Tests : 516
>> Unexpected Failures: 1
>> CMakeFiles/check-all.dir/build.make:57: recipe for target
>> 'CMakeFiles/check-all' failed
>> make[3]: *** [CMakeFiles/check-all] Error 1
>> CMakeFiles/Makefile2:147: recipe for target 'CMakeFiles/check-all.dir/all'
>> failed
>> make[2]: *** [CMakeFiles/check-all.dir/all] Error 2
>> CMakeFiles/Makefile2:154: recipe for target 'CMakeFiles/check-all.dir/rule'
>> failed
>> make[1]: *** [CMakeFiles/check-all.dir/rule] Error 2
>> Makefile:184: recipe for target 'check-all' failed
>> make: *** [check-all] Error 2
>>
>>
>> {tim at arkham:~/Source/llvm-trunk/build} echo $GOROOT
>> /home/tim/apps/go
>> {tim at arkham:~/Source/llvm-trunk/build} ll bin/llvm-go
>> -rwxr-xr-x 1 tim tim 2865152 Jan 25 11:30 bin/llvm-go*
>> {tim at arkham:~/Source/llvm-trunk/build} ./bin/llvm-go
>> Usage: llvm-go subcommand [flags]
>>
>> Available subcommands: build get install run test print-components
>> print-config
>> {tim at arkham:~/Source/llvm-trunk/build}
>>
>>
>>
>> --
>> Tim Halloran
>> SureLogic, Inc.
>> 5808 Forbes Avenue, Pittsburgh PA 15217-1602
>> (412) 722-3338
>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list