cling icon indicating copy to clipboard operation
cling copied to clipboard

Instructions for compiling `cling-patches-llvm13` branch

Open Cons-Cat opened this issue 1 year ago • 2 comments

Explain what you would like to see improved

I'm trying to compile the Clang 13 version of Cling from the cling-patches-llvm13 branch, and finding the instructions unclear. /cling-patches-llvm13/tools/packaging

I am guessing that I need to supply cpt.py some special --with-xxxx-url arguments, but I'm not sure which ones I need. I've tried giving it this repo as the cling url, and an upstream llvm 13 url, but I'm not sure what to do with this separate clang url (isn't clang in the llvm repo?). Whatever I try so far produces some error.

Share how it could be improved

It would be very helpful to me if you could share the instructions used to build this branch somewhere. If it is already mentioned somewhere, perhaps it could be in the README to make it easier to find?

Apologies if I have missed something obvious!

Cons-Cat avatar Sep 12 '22 18:09 Cons-Cat

Hi @Cons-Cat, thanks for reaching out. This is work in progress and it is deliberately not documented. I expect this to land in the next couple of months in the master.

If you want to experiment with it, then you could ask cpt to prepare a dev area for the master, manually switch the branches for all, llvm.git, clang.git and cling.git and rebuild.

vgvassilev avatar Sep 12 '22 19:09 vgvassilev

@Cons-Cat I was able to do it. If you are still interested, please ping back.

dimitry-ishenko avatar Oct 19 '22 15:10 dimitry-ishenko