Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



maya%netbsd.org@localhost wrote:
>On Tue, Jan 01, 2019 at 04:02:01PM +0000, Robert Swindells wrote:
>> How does the usage of libLLVM from MesaLib make use of the LLVM headers
>> at *runtime* ?
>> 
>> If they are not needed at runtime then why do they need to be installed
>> on a target machine ?
>
>it doesn't need the headers at runtime. joerg is currently objecting to
>installing the llvm libraries too.

I see two build cases, with clang as the base compiler and with gcc as
the base compiler.

Your post to tech-toolchain@ earlier today looks like it only handles
having clang as the compiler.

We will also want to build a version of the LLVM libraries using gcc
when that is the base compiler, this could be configured to just contain
the GPU targets.

I'm guessing that we would need custom Makefiles for the gcc build.

Maybe use the same Makefiles with a clang build and have two copies of
LLVM, a private one for MesaLib and the public one for use by clang.

Do the headers change when used with different target (or build)
architectures, or could we generate them once and put them in CVS ? We
generate stuff for gcc.





Home | Main Index | Thread Index | Old Index