Is that okay if I change `/usr/bin/clang-10` to `/usr/bin/clang-11`? 
Because I have installed clang-11.

Thank you,
Kavindu
On Tuesday, 29 June 2021 at 18:16:17 UTC+5:30 th...@google.com wrote:

> If would help if you could share your exact cmake invocation I think. 
>
> If your cmake invocation looks like
>
> cmake \
>    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
>    -DCMAKE_INSTALL_PREFIX=/tmp/myinstall \
>    -DCMAKE_C_COMPILER=/usr/bin/clang-10 \
>    -DCMAKE_ASM_COMPILER=/usr/bin/clang-10 \
>    -DCMAKE_CXX_COMPILER=/usr/bin/clang++-10 \
>    -G Ninja ../llvm-project/llvm
>
> Then you should be prepending /tmp/myinstall/bin to your path.
>
> Thanks, Than
>
> On Sun, Jun 27, 2021 at 2:59 AM Kavindu Gimhan Zoysa <kavin...@gmail.com> 
> wrote:
>
>> Hi all,
>>
>> I have ran the commands in https://go.googlesource.com/gollvm/#installing, 
>> (I did not run `ninja install-gollvm`). Then I set the path of bin folder 
>> to my $PATH using `export PATH=<PATH_TO_INSTALLATION>build-debug/bin:$PATH`.
>>
>> Finally, I was able to run `go build/run test.go` successfully. 
>>
>> But my problem is since I have already installed golang to my machine 
>> before install gollvm, how do I verify that go build command picked gollvm, 
>> instead of golang's compiler?
>>
>> Thank you,
>> Kavindu
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/golang-nuts/6623d44d-da35-4c54-8c90-9e6a8cc9cb00n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/golang-nuts/6623d44d-da35-4c54-8c90-9e6a8cc9cb00n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2236b93e-4d86-4fd6-8348-d84102f2b83bn%40googlegroups.com.

Reply via email to